/// <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;
 }
Beispiel #3
0
 public DataInitializer(
     DscManagerContext dscContext,
     DeploymentServerContext deploymentContext,
     NodeRepositoryContext nodeContext,
     ReportingEndpointContext reportingContext,
     IDscManagerOptions options)
 {
     this.DscContext        = dscContext;
     this.DeploymentContext = deploymentContext;
     this.NodeContext       = nodeContext;
     this.ReportingContext  = reportingContext;
     this.Options           = options;
 }
 /// <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;
 }
Beispiel #6
0
 /// <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>();
 }