Пример #1
0
        SuperviseService CreateSuperviseService(HostSettings settings)
        {

            var service = new SuperviseService(settings, _serviceBuilderFactory);
            
            ServiceAvailability serviceAvailability = new DownFileServiceAvailability(service);
            service.AddServiceAvailability(serviceAvailability);

            return service;
        }
        SuperviseService CreateSuperviseService(HostSettings settings)
        {
            var service = new SuperviseService(settings, _serviceBuilderFactory);

            ServiceAvailability serviceAvailability = new DownFileServiceAvailability(service);

            service.AddServiceAvailability(serviceAvailability);

            return(service);
        }