Menu

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

Download this file

23 lines (19 with data), 674 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
using System.Collections.Generic;
using Google.Apis.Calendar.v3.Data;
namespace GoContactSyncMod
{
class Factory
{
internal static Event NewEvent()
{
Event ev = new Event();
ev.Reminders = new Event.RemindersData { Overrides = new List<EventReminder>(), UseDefault = false };
ev.Recurrence = new List<string>();
ev.ExtendedProperties = new Event.ExtendedPropertiesData { Shared = new Dictionary<string, string>() };
ev.Start = new EventDateTime();
ev.End = new EventDateTime();
ev.Locked = false;
return ev;
}
}
}
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.