Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ConfigurationController" /> class.
 /// </summary>
 /// <param name="settingsService">The settings service.</param>
 /// <param name="logging">The logging.</param>
 /// <param name="portalSettings">The portal settings.</param>
 /// <param name="portalSettingsService">The portal settings service.</param>
 /// <param name="runtimeLoader">The runtime loader.</param>
 public ConfigurationController(
     IAs4SettingsService settingsService,
     ILogging logging,
     IOptions <PortalSettings> portalSettings,
     IPortalSettingsService portalSettingsService,
     IRuntimeLoader runtimeLoader)
 {
     this.settingsService       = settingsService;
     this.portalSettings        = portalSettings;
     this.portalSettingsService = portalSettingsService;
     this.runtimeLoader         = runtimeLoader;
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RuntimeController"/> class.
 /// </summary>
 /// <param name="runtimeLoader">The runtime loader.</param>
 public RuntimeController(IRuntimeLoader runtimeLoader)
 {
     this.runtimeLoader = runtimeLoader;
 }