/// <summary> /// Create a schedule /// </summary> /// <param name="scheduleLocation"></param> public Schedule(string scheduleLocation, CacheManager cacheManager) { Debug.WriteLine(string.Format("XMDS DisplayLocation: {0}", Settings.Default.Xmds)); // Save the schedule location _scheduleLocation = scheduleLocation; // Create a new collection for the layouts in the schedule _layoutSchedule = new Collection <LayoutSchedule>(); // Set cachemanager _cacheManager = cacheManager; // Create a schedule manager _scheduleManager = new ScheduleManager(_cacheManager, scheduleLocation); // Create a new Xmds service object _xmds2 = new ServiceClient(); }
/// <summary> /// Create a schedule /// </summary> /// <param name="scheduleLocation"></param> public Schedule(string scheduleLocation, CacheManager cacheManager) { Debug.WriteLine(string.Format("XMDS DisplayLocation: {0}", Settings.Default.Xmds)); // Save the schedule location _scheduleLocation = scheduleLocation; // Create a new collection for the layouts in the schedule _layoutSchedule = new Collection<LayoutSchedule>(); // Set cachemanager _cacheManager = cacheManager; // Create a schedule manager _scheduleManager = new ScheduleManager(_cacheManager, scheduleLocation); // Create a new Xmds service object _xmds2 = new ServiceClient(); }