Menu

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

Download this file

27 lines (22 with data), 772 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Google.Apis.Calendar.v3.Data;
namespace GoContactSyncMod
{
class Factory
{
internal static Google.Apis.Calendar.v3.Data.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.