/// <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="ReportingEndpointCleanup"/> class. /// </summary> /// <param name="context"> /// The context. /// </param> /// <param name="options"> /// The options. /// </param> /// <param name="logging"> /// The logging. /// </param> public ReportingEndpointCleanup( ReportingEndpointContext context, IReportingEndpointOptions options, IReportingEndpointLogging logging) { this.Context = context; this.ConfigurationReportRepository = context.Set <ConfigurationReport>(); this.Options = options; this.Logging = logging; }
/// <summary> /// Initializes a new instance of the <see cref="NodeStatusController"/> class. /// </summary> /// <param name="context"> /// The context. /// </param> public NodeStatusController(ReportingEndpointContext context) { this.Context = context; this.NodeStatusRepository = context.Set <NodeStatus>(); }
/// <summary> /// Initializes a new instance of the <see cref="ConfigurationReportController"/> class. /// </summary> /// <param name="context"> /// The context. /// </param> /// <param name="logging"> /// The logging. /// </param> public ConfigurationReportController(ReportingEndpointContext context, IReportingEndpointLogging logging) { this.Context = context; this.ConfigurationReportRepository = context.Set <ConfigurationReport>(); this.Logging = logging; }
/// <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>(); }