public CredentialManager( ILogger <CredentialManager> logger, ILiveUpdateableOptions <ApplicationConfiguration> liveOptions) { this.liveOptions = liveOptions.ThrowIfNull(nameof(liveOptions)); this.logger = logger.ThrowIfNull(nameof(logger)); }
public SettingsView( ILiveUpdateableOptions <ApplicationConfiguration> liveUpdateableOptions, IViewManager viewManager) { this.liveUpdateableOptions = liveUpdateableOptions.ThrowIfNull(nameof(liveUpdateableOptions)); this.viewManager = viewManager.ThrowIfNull(nameof(viewManager)); this.InitializeComponent(); this.LoadSettings(); }
public DummyService( ILogger <DummyService> logger, IOptions <DummyOptions> options, IUpdateableOptions <DummyOptions> updateableOptions, ILiveUpdateableOptions <DummyOptions> liveUpdateableOptions, ILiveOptions <DummyOptions> liveOptions) { this.logger = logger.ThrowIfNull(nameof(logger)); this.dummyOptions = options.ThrowIfNull(nameof(options)); this.updateableDummyOptions = updateableOptions.ThrowIfNull(nameof(updateableOptions)); this.liveOptions = liveOptions.ThrowIfNull(nameof(liveOptions)); this.liveUpdateableOptions = liveUpdateableOptions.ThrowIfNull(nameof(liveUpdateableOptions)); }
public AskUpdateView( ILogger <AskUpdateView> logger, IViewManager viewManager, ILiveUpdateableOptions <ApplicationConfiguration> liveOptions, IPrivilegeManager privilegeManager, IApplicationUpdater applicationUpdater) { this.logger = logger.ThrowIfNull(nameof(logger)); this.viewManager = viewManager.ThrowIfNull(nameof(viewManager)); this.liveOptions = liveOptions.ThrowIfNull(nameof(liveOptions)); this.privilegeManager = privilegeManager.ThrowIfNull(nameof(privilegeManager)); this.applicationUpdater = applicationUpdater.ThrowIfNull(nameof(applicationUpdater)); this.InitializeComponent(); }