public ProfileViewModel(CalendarSyncProfile syncProfile, IGoogleCalendarService googleCalendarService, IOutlookCalendarService outlookCalendarService, IMessageService messageService, IExchangeWebCalendarService exchangeWebCalendarService, ApplicationLogger applicationLogger, IAccountAuthenticationService accountAuthenticationService) { SyncProfile = syncProfile; ExchangeWebCalendarService = exchangeWebCalendarService; ApplicationLogger = applicationLogger.GetLogger(GetType()); AccountAuthenticationService = accountAuthenticationService; GoogleCalendarService = googleCalendarService; OutlookCalendarService = outlookCalendarService; MessageService = messageService; }
public CalendarViewModel(ICalendarView calendarView, IGoogleCalendarService googleCalendarService, IOutlookCalendarService outlookCalendarService, IMessageService messageService, IExchangeWebCalendarService exchangeWebCalendarService, ApplicationLogger applicationLogger, IAccountAuthenticationService accountAuthenticationService) : base(calendarView) { ExchangeWebCalendarService = exchangeWebCalendarService; Logger = applicationLogger.GetLogger(GetType()); AccountAuthenticationService = accountAuthenticationService; GoogleCalendarService = googleCalendarService; OutlookCalendarService = outlookCalendarService; MessageService = messageService; }
public SettingsViewModel(ISettingsView view, IGoogleCalendarService googleCalendarService, Settings settings, ISettingsSerializationService serializationService, IOutlookCalendarService outlookCalendarService, IMessageService messageService, IExchangeWebCalendarService exchangeWebCalendarService, ApplicationLogger applicationLogger, IWindowsStartupService windowsStartupService, IAccountAuthenticationService accountAuthenticationService) : base(view) { Settings = settings; ExchangeWebCalendarService = exchangeWebCalendarService; ApplicationLogger = applicationLogger; Logger = applicationLogger.GetLogger(GetType()); WindowsStartupService = windowsStartupService; AccountAuthenticationService = accountAuthenticationService; GoogleCalendarService = googleCalendarService; SettingsSerializationService = serializationService; OutlookCalendarService = outlookCalendarService; MessageService = messageService; }