public HServiceRootRunner(IHServicesProvider provider) { _provider = provider; _services = ServicesProvider.Services; _logger = ServicesProvider.Logger; _initializedByStartup = Result.SingleInfo(ServiceReasons.InitializedByStartup, Debugs.InitializedByStartup); _setByParentService = Result.SingleInfo(ServiceReasons.SetByParentService, Debugs.SetByParentService); IsInitialized = false; }
public HServiceRoot(IHServicesProvider provider) : this(new HServiceRootRunner(provider)) { }