public ServiceRunner(ISettingsRunnable settings, IRunner runner, string threadName, bool autoStart = false) { _settings = settings; _runnableObject = runner; _threadName = threadName; if (autoStart) Start(); }
public ServiceRunner(ISettingsRunnable settings, IRunner runner, string threadName, bool autoStart = false) { _settings = settings; _runnableObject = runner; _threadName = threadName; if (autoStart) { Start(); } }
public ServiceRunner(ISettingsRunnable settings, IImportavel importador, string threadName, bool autoStart = false) : this(settings, new ImportadorService(importador), threadName, autoStart) { }
public ServiceRunnerConsumer(ISettingsRunnable settings, IConsumerRunner <T> consumer, string threadName, bool autoStart = false) : base(settings, new ConsumerRunner <T>(consumer), threadName, autoStart) { _consumer = consumer; }
public ServiceRunnerProducer(ISettingsRunnable settings, IProducerRunner <T> runner, string threadName, bool autoStart = false) : base(settings, new ProducerRunner(runner), threadName, autoStart) { Producer = runner; }