Menu

[r1586]: / trunk / GoogleContactsSync / Factory.cs  Maximize  Restore  History

Download this file

23 lines (21 with data), 710 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
using Google.Apis.Calendar.v3.Data;
using System.Collections.Generic;
namespace GoContactSyncMod
{
internal class Factory
{
internal static Event NewEvent()
{
var ga = new Event
{
Reminders = new Event.RemindersData { Overrides = new List<EventReminder>(), UseDefault = false },
Recurrence = new List<string>(),
ExtendedProperties = new Event.ExtendedPropertiesData { Shared = new Dictionary<string, string>() },
Start = new EventDateTime(),
End = new EventDateTime(),
Locked = false
};
return ga;
}
}
}
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.