예제 #1
0
 public ServiceFactory(IMicroServiceController controller, IEnumerable <IBaseService> enumerable)
 {
     _contronller = controller;
     foreach (var item in enumerable)
     {
         baseService = item;
     }
 }
예제 #2
0
 public ProductsRetriever(IMicroServiceController controller, IConfiguration configuration)
 {
     ProductsRetriever.configuration = configuration;
     this.controller = controller;
     getProductsAPI  = ProductsRetriever.configuration["GETProductsAPI"];
     putProductsAPI  = ProductsRetriever.configuration["PUTProductsAPI"];
     apiPath         = ProductsRetriever.configuration["APIURL"];
 }
예제 #3
0
        public PollingService(IMicroServiceController controller)
        {
            this.controller = controller;

            var servicesProvider = ServiceConfiguration.BuildDI();

            _telemetryRepository = servicesProvider.GetService <ITelemetryRepository>();

            _logger = servicesProvider.GetService <ILogger <PollingService> >();
        }
예제 #4
0
        public PollingService(IMicroServiceController controller, string eventName)
        {
            this.controller = controller;

            this.eventName = eventName;

            var servicesProvider = ServiceConfiguration.BuildDI();

            _matchRepository = servicesProvider.GetService <IMatchRepository>();

            _logger = servicesProvider.GetService <ILogger <PollingService> >();
        }
예제 #5
0
 public NCacheService()
 {
     _controller = null;
 }
 public ExampleServiceTimer(IMicroServiceController controller)
 {
     this.controller = controller;
 }
예제 #7
0
 public ExampleService()
 {
     controller = null;
 }
예제 #8
0
 public ExampleService(IMicroServiceController controller)
 {
     _controller = controller;
 }
예제 #9
0
 public ServiceAkka()
 {
     Controller = null;
 }
예제 #10
0
 public HostService()
 {
     this.controller = null;
 }
예제 #11
0
 public FileService(IMicroServiceController controller, ILogger <FileService> logger)
 {
     _controller = controller;
     _logger     = logger;
 }
예제 #12
0
 public FileService()
 {
     _controller = null;
 }
예제 #13
0
 public TheConsumerService(IMicroServiceController controller)
 {
     this.controller = controller;
 }
 public ExampleService(IMicroServiceController controller, TraceSource trace, bool isConsoleContext = false)
 {
     _controller       = controller;
     _trace            = trace;
     _isConsoleContext = isConsoleContext;
 }
예제 #15
0
 public Service(IMicroServiceController microServiceController, IPowerShellWorker powerShellWorker)
 {
     _microServiceController = microServiceController;
     _powerShellWorker       = powerShellWorker;
 }
예제 #16
0
 public NCacheService(IMicroServiceController controller)
 {
     _controller = controller;
 }
예제 #17
0
 public HostService(IMicroServiceController controller)
 {
     this.controller = controller;
 }
예제 #18
0
 public TheProducerService(IMicroServiceController controller)
 {
     this.controller = controller;
 }
예제 #19
0
 public PollingService()
 {
     controller = null;
 }
예제 #20
0
 public WindowsServiceWrapper(IMicroServiceController controller)
 {
     _controller = controller;
 }
예제 #21
0
 public DaemonService(List <String> extraArguments, IMicroServiceController microServiceController)
 {
     this.ExtraArguments         = extraArguments;
     this.MicroServiceController = microServiceController;
 }
예제 #22
0
 public DaemonService(IMicroServiceController serviceController)
 {
     this.ServiceController = serviceController;
 }
예제 #23
0
 public ServiceAkka(IMicroServiceController controller)
 {
     Controller = controller;
 }
예제 #24
0
 public ExampleService(IMicroServiceController controller, IServiceProvider serviceProvider)
 {
     this.controller  = controller;
     _serviceProvider = serviceProvider;
 }