Esempio n. 1
0
 public CredentialManager(
     ILogger <CredentialManager> logger,
     ILiveUpdateableOptions <ApplicationConfiguration> liveOptions)
 {
     this.liveOptions = liveOptions.ThrowIfNull(nameof(liveOptions));
     this.logger      = logger.ThrowIfNull(nameof(logger));
 }
Esempio n. 2
0
 public SettingsView(
     ILiveUpdateableOptions <ApplicationConfiguration> liveUpdateableOptions,
     IViewManager viewManager)
 {
     this.liveUpdateableOptions = liveUpdateableOptions.ThrowIfNull(nameof(liveUpdateableOptions));
     this.viewManager           = viewManager.ThrowIfNull(nameof(viewManager));
     this.InitializeComponent();
     this.LoadSettings();
 }
Esempio n. 3
0
 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();
 }