using System.Threading.Tasks; using BO.ProcessServer.Business.Workers.Contexts; using Quadarax.Foundation.Core.Logging; using Quadarax.Foundation.Core.Thread; namespace BO.ProcessServer.Business.Workers { public class RetentionWorker : LoopWorker { #region *** Constants *** private const string CS_WK_NAME = "Retention"; #endregion #region *** Constuctors *** public RetentionWorker(IWorkerContext context) : base(CS_WK_NAME, context) { var ctx = (CfgCtx)context; ctx.Configuration.System.Retention. } public RetentionWorker(string workerName, IWorkerContext context) : base(workerName, context) { } public RetentionWorker(string workerName) : base(workerName) { } public RetentionWorker(string workerName, IWorkerContext context, ILogger logger = null) : base(workerName, context, logger) { } #endregion #region *** Iteration *** protected override async Task DoIteration(IWorkerContext context) { var ctx = (CfgCtx)context; } #endregion } }