Esempio n. 1
0
		public static void DoEventBrite(Calinfo calinfo)
		{
			if (settings["use_eventbrite"] == "true" && calinfo.eventbrite)
			{
				var eventbrite = new ZonedEventStore(calinfo, SourceType.eventbrite);
				Collector coll = new Collector(calinfo, settings);
				coll.CollectEventBrite(eventbrite);
			}
		}
Esempio n. 2
0
        private static ZonelessEventStore ProcessEventBriteExample(string example, string source, Calinfo calinfo, Collector collector)
        {
            DeleteZonedObjects(calinfo.id);
            var es = new ZonedEventStore(calinfo, SourceType.eventbrite);

            collector.CollectEventBrite(es);
            EventStore.CombineZonedEventStoresToZonelessEventStore(calinfo.id, settings);
            var zes = new ZonelessEventStore(calinfo).Deserialize();

            return(zes);
        }