/// <summary> /// Initializes a new instance of the <see cref="ConfigurationsController"/> class. /// </summary> /// <param name="context"> /// The context. /// </param> /// <param name="configurationService"> /// The configuration Service. /// </param> /// <param name="deploymentServerLogging"> /// The deployment Server Logging. /// </param> public ConfigurationsController( DeploymentServerContext context, IConfigurationService configurationService, IDeploymentServerLogging deploymentServerLogging) { this.Context = context; this.Repository = context.Set <Configuration>(); this.DocumentRepository = context.Set <ConfigurationDocument>(); this.ConfigurationService = configurationService; this.DeploymentServerLogging = deploymentServerLogging; }
/// <summary> /// Initializes a new instance of the <see cref="ConfigurationService"/> class. /// </summary> /// <param name="eventManager"> /// The event manager. /// </param> /// <param name="context"> /// The context. /// </param> /// <param name="options"> /// The options. /// </param> /// <param name="logging"> /// The logging. /// </param> public ConfigurationService( IDscEventManager eventManager, DeploymentServerContext context, IDeploymentServerOptions options, IDeploymentServerLogging logging) : base(eventManager) { this.Context = context; this.Repository = context.Set <Configuration>(); this.Options = options; this.Logging = logging; }
/// <summary> /// Initializes a new instance of the <see cref="MofBuilderService"/> class. /// </summary> /// <param name="context"> /// The context. /// </param> /// <param name="options"> /// The options. /// </param> /// <param name="runner"> /// The runner. /// </param> /// <param name="configurationService"> /// The configuration service. /// </param> /// <param name="monitoringApi"> /// The monitoring api. /// </param> /// <param name="logging"> /// The logging. /// </param> public MofBuilderService( DeploymentServerContext context, IDeploymentServerOptions options, IPowerShellRunner runner, IConfigurationService configurationService, IMonitoringApi monitoringApi, IDeploymentServerLogging logging) { this.Context = context; this.BuildRepository = context.Set <Build>(); this.Logging = logging; this.Options = options; this.Runner = runner; this.ConfigurationService = configurationService; this.MonitoringApi = monitoringApi; }
/// <summary> /// Initializes a new instance of the <see cref="DeploymentServerContextInitializer"/> class. /// </summary> /// <param name="deploymentServerLogging"> /// The deployment server logging. /// </param> public DeploymentServerContextInitializer(IDeploymentServerLogging deploymentServerLogging) { this.DeploymentServerLogging = deploymentServerLogging; }