public SettingsWindow(AccountsSettingsModel accountsSettings, ApplicationSettingsModel applicationSettings, OutgoingMailServiceResolver serviceResolver) { _serviceResolver = serviceResolver; AccountsSettings = accountsSettings; ApplicationSettings = applicationSettings; InitializeComponent(); }
public ApplicationWorker(AccountsSettingsModel accountsSettings, EventBus eventBus, OutgoingMailServiceResolver serviceResolver, AsyncObservableCollection <EmailGroupModel> emailGroupList, ApplicationSettingsModel appSettings, IMailStorage mailStorage) { _accountsSettings = accountsSettings; _eventBus = eventBus; _serviceResolver = serviceResolver; _emailGroupList = emailGroupList; _appSettings = appSettings; _mailStorage = mailStorage; }