/// <summary>
 /// Initializes a new instance of the <see cref="CalendarUtility"/> class.
 /// </summary>
 /// <param name="store">The store.</param>
 public CalendarUtility(ICalendarDataStore <ICalendar <ICalendarDay> > store)
 {
     _store = store;
 }
Exemple #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CalendarUtility"/> class.
 /// </summary>
 /// <param name="userConnection">The user connection.</param>
 public CalendarUtility(UserConnection userConnection)
 {
     _store = new CalendarDataStore <ICalendar <ICalendarDay> >(userConnection);
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="CalendarUtility"/> class.
 /// </summary>
 /// <param name="userConnection">The user connection.</param>
 public CalendarUtility(UserConnection userConnection)
 {
     _userConnection      = userConnection;
     _store               = new CalendarDataStore <ICalendar <ICalendarDay> >(userConnection);
     _calculationLogStore = TermCalculationLogStoreInitializer.GetStore(userConnection);
 }
 public CalendarService(ICalendarDataStore <ICalendar <ICalendarDay> > storage)
 {
     _calendarDataStore = storage;
 }