/// <summary> /// Initializes a new instance of the <see cref="NodeConfigurationService"/> class. /// </summary> /// <param name="context"> /// The context. /// </param> /// <param name="logging"> /// The logging. /// </param> public NodeConfigurationService(NodeRepositoryContext context, INodeRepositoryLogging logging) { this.Context = context; this.ConfigurationPropertyRepository = context.Set <ConfigurationProperty>(); this.NodeRepository = context.Set <Node>(); this.Logging = logging; }
/// <summary> /// Initializes a new instance of the <see cref="BootstrapController"/> class. /// </summary> /// <param name="context"> /// The context. /// </param> /// <param name="nodeService"> /// The node service. /// </param> /// <param name="logging"> /// The logging. /// </param> public BootstrapController( NodeRepositoryContext context, INodeConfigurationService nodeService, INodeRepositoryLogging logging) { this.Context = context; this.NodeRepository = context.Set <Node>(); this.ConfigurationPropertyRepository = context.Set <ConfigurationProperty>(); this.NodeService = nodeService; this.Logging = logging; }
/// <summary> /// Initializes a new instance of the <see cref="NodeRepositoryContextInitializer"/> class. /// </summary> /// <param name="logging"> /// The logging. /// </param> public NodeRepositoryContextInitializer(INodeRepositoryLogging logging) { this.Logging = logging; }