public BackgroundServiceController() { _amtrackLogger = DependencyInjector.Retrieve <IAmtrackLogger>(); _backgroundCacheServices = new List <IBackgroundCacheService>(); Register(); }
protected BaseBackgroundCacheService( ICacheStore cacheStore, IAmtrackLogger logger) : base(logger) { cancellationTokenSource = new CancellationTokenSource(); }
public AsyncInventoryCacheService( ICacheStore cacheStore, IAmtrackLogger logger, bool synchronous, string serviceName) : base(cacheStore, logger, synchronous, serviceName) { }
public AsyncCacheService( ICacheStore cacheStore, IAmtrackLogger logger, bool synchronous, string serviceName, params MethodInfo[] methods) : base(cacheStore, logger, synchronous, serviceName) { this.methods = methods; }
protected BaseAsyncCacheService( ICacheStore cacheStore, IAmtrackLogger logger, bool synchronous, string serviceName) { this.cacheStore = cacheStore; this.logger = logger; this.Synchronous = synchronous; this.ServiceName = serviceName; }
protected BaseBackgroundService( IAmtrackLogger logger) { cancellationTokenSource = new CancellationTokenSource(); Logger = logger; }