public CultureDateTimeFormatProvider(
     IWorkContextAccessor workContextAccessor,
     ICalendarManager calendarManager)
 {
     _workContextAccessor = workContextAccessor;
     _calendarManager     = calendarManager;
 }
Example #2
0
 public LocalClock(IEnumerable <ITimeZoneSelector> timeZoneSelectors, IClock clock, ICalendarManager calendarManager)
 {
     base();
     this._timeZoneSelectors = timeZoneSelectors;
     this._clock             = clock;
     this._calendarManager   = calendarManager;
     return;
 }
 public DefaultDateFormatter(
     IWorkContextAccessor workContextAccessor,
     IDateTimeFormatProvider dateTimeFormatProvider,
     ICalendarManager calendarManager) {
     _workContextAccessor = workContextAccessor;
     _dateTimeFormatProvider = dateTimeFormatProvider;
     _calendarManager = calendarManager;
 }
 public DefaultDateServices(
     IWorkContextAccessor workContextAccessor,
     IDateTimeFormatProvider dateTimeLocalization,
     ICalendarManager calendarManager) {
     _workContextAccessor = workContextAccessor;
     _dateTimeLocalization = dateTimeLocalization;
     _calendarManager = calendarManager;
 }
Example #5
0
 public DefaultDateServices(
     IWorkContextAccessor workContextAccessor,
     IDateTimeFormatProvider dateTimeLocalization,
     ICalendarManager calendarManager)
 {
     _workContextAccessor  = workContextAccessor;
     _dateTimeLocalization = dateTimeLocalization;
     _calendarManager      = calendarManager;
 }
Example #6
0
 public DefaultDateFormatter(
     IWorkContextAccessor workContextAccessor,
     IDateTimeFormatProvider dateTimeFormatProvider,
     ICalendarManager calendarManager)
 {
     _workContextAccessor    = workContextAccessor;
     _dateTimeFormatProvider = dateTimeFormatProvider;
     _calendarManager        = calendarManager;
 }
 public CalendarDayLarge(ICalendarManager calendarManager)
 {
     InitializeComponent();
     this.calendarManager = calendarManager;
     createGrid();
     CurrDate = DateTime.Now;
     dateTimePicker1.Value = currDate;
     UpdateGrid();
 }
Example #8
0
 public CountdownViewModel(
     IOptions <CountdownOptions> options,
     IOptions <TimeZoneOptions> timezoneOptions,
     ICalendarManager calendarManager)
 {
     _options         = options.Value;
     _timezoneOptions = timezoneOptions.Value;
     _calendarManager = calendarManager;
 }
 public CalendarController(ICalendarManager calendarManager, IUserManager <GearUser> userManager, IOrganizationService <Tenant> organizationService, SignInManager <GearUser> signInManager, ICalendarExternalTokenProvider externalTokenProvider, ICalendarUserSettingsService userSettingsService)
 {
     _calendarManager       = calendarManager;
     _userManager           = userManager;
     _organizationService   = organizationService;
     _signInManager         = signInManager;
     _externalTokenProvider = externalTokenProvider;
     _userSettingsService   = userSettingsService;
     _serializeSettings     = CalendarServiceCollection.JsonSerializerSettings;
 }
 public DefaultDateLocalizationServices(
     IClock clock,
     IWorkContextAccessor workContextAccessor,
     IDateTimeFormatProvider dateTimeFormatProvider,
     IDateFormatter dateFormatter,
     ICalendarManager calendarManager) {
     _clock = clock;
     _workContextAccessor = workContextAccessor;
     _dateTimeFormatProvider = dateTimeFormatProvider;
     _dateFormatter = dateFormatter;
     _calendarManager = calendarManager;
 }
Example #11
0
 public DefaultDateLocalizationServices(
     IClock clock,
     IWorkContextAccessor workContextAccessor,
     IDateTimeFormatProvider dateTimeFormatProvider,
     IDateFormatter dateFormatter,
     ICalendarManager calendarManager)
 {
     _clock = clock;
     _workContextAccessor    = workContextAccessor;
     _dateTimeFormatProvider = dateTimeFormatProvider;
     _dateFormatter          = dateFormatter;
     _calendarManager        = calendarManager;
 }
        public SiteSettingsPartDriver(
            ISiteService siteService,
            ICultureManager cultureManager,
            ICalendarManager calendarProvider,
            IMembershipService membershipService,
            INotifier notifier,
            IAuthorizer authorizer)
        {
            _siteService       = siteService;
            _cultureManager    = cultureManager;
            _calendarProvider  = calendarProvider;
            _membershipService = membershipService;
            _notifier          = notifier;
            _authorizer        = authorizer;

            T      = NullLocalizer.Instance;
            Logger = NullLogger.Instance;
        }
 public CultureDateTimeFormatProvider(
     IWorkContextAccessor workContextAccessor,
     ICalendarManager calendarManager) {
     _workContextAccessor = workContextAccessor;
     _calendarManager = calendarManager;
 }
Example #14
0
 public LocalClock(IEnumerable <ITimeZoneSelector> timeZoneSelectors, IClock clock, ICalendarManager calendarManager)
 {
     _timeZoneSelectors = timeZoneSelectors;
     _clock             = clock;
     _calendarManager   = calendarManager;
 }
 public CalendarApiController(IEventsManager eventsManager, ICalendarManager calendarManager)
 {
     _eventsManager = eventsManager;
     _calendarManager = calendarManager;
 }
Example #16
0
 public CalendarController(ICalendarManager calendarManager)
 {
     _calendarManager = calendarManager;
 }
 public CurrentCalendarWorkContext(ICalendarManager calendarManager)
 {
     _calendarManager = calendarManager;
 }
Example #18
0
 public CalendarController(ICalendarManager manager)
 {
     _manager = manager;
 }