/// <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);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="CalendarOperationProvider"/> class.
 /// </summary>
 /// <param name="calendar">The calendar.</param>
 /// <param name="timeUnit">The time unit.</param>
 /// <param name="logStore">Store of term calculation logs<see cref="TermCalculationLogStore"/></param>
 public CalendarOperationProvider(ICalendar <ICalendarDay> calendar, CalendarTimeUnit timeUnit, TermCalculationLogStore logStore) : this(calendar, timeUnit)
 {
     _countTerm.TermCalculationLogStore = logStore;
 }