/// <summary> /// Initializes a new instance of the <see cref="ConfigurationReportService"/> class. /// </summary> /// <param name="eventManager"> /// The event manager. /// </param> /// <param name="context"> /// The context. /// </param> /// <param name="logging"> /// The logging. /// </param> public ConfigurationReportService( IDscEventManager eventManager, ReportingEndpointContext context, IReportingEndpointLogging logging) : base(eventManager) { this.Context = context; this.ConfigurationReportRepository = context.Set <ConfigurationReport>(); this.Logging = logging; }
/// <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="DatabaseLogger"/> class. /// </summary> /// <param name="eventManager"> /// The event manager. /// </param> /// <param name="context"> /// The context. /// </param> /// <param name="container"> /// The container. /// </param> /// <param name="options"> /// The options. /// </param> /// <param name="logging"> /// The logging. /// </param> public DatabaseLogger( IDscEventManager eventManager, DscManagerContext context, ILifetimeScope container, IDscManagerOptions options, IDscManagerLogging logging) : base(eventManager) { this.Context = context; this.LoggingRepository = context.Set <LoggingEntity>(); this.Container = container; this.Options = options; this.Logging = logging; }
/// <summary> /// Initializes a new instance of the <see cref="DscEventHandler"/> class. /// </summary> /// <param name="eventManager"> /// The event manager. /// </param> public SlackLogger(IDscEventManager eventManager, ISlackIntegrationService slackService) : base(eventManager) { this.SlackService = slackService; }
/// <summary> /// Initializes a new instance of the <see cref="DscLogging"/> class. /// </summary> /// <param name="eventManager"> /// The event manager. /// </param> public DscLogging(IDscEventManager eventManager) { this.EventManager = eventManager; }
/// <summary> /// Initializes a new instance of the <see cref="ConsoleLogger"/> class. /// </summary> /// <param name="eventManager"> /// The event manager. /// </param> public ConsoleLogger(IDscEventManager eventManager) : base(eventManager) { }
/// <summary> /// Initializes a new instance of the <see cref="NodeStatusService"/> class. /// </summary> /// <param name="eventManager"> /// The event manager. /// </param> /// <param name="context"> /// The context. /// </param> public NodeStatusService(IDscEventManager eventManager, ReportingEndpointContext context) { this.EventManager = eventManager; this.Context = context; this.NodeStatusRepository = context.Set <NodeStatus>(); }
/// <summary> /// Initializes a new instance of the <see cref="DscEventHandler"/> class. /// </summary> /// <param name="eventManager"> /// The event manager. /// </param> protected DscEventHandler(IDscEventManager eventManager) { this.EventManager = eventManager; }