Пример #1
0
        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;
        }
Пример #2
0
 public HServiceRoot(IHServicesProvider provider) : this(new HServiceRootRunner(provider))
 {
 }