Example #1
0
        public DateTimeProvider(IEntityLogger logger, IActivePeriodicObjectCommonContext syncContext)
            : base(logger)
        {
            var activeContext = new ActivePeriodicObjectContext(syncContext);

            _activeObject = new AsyncActivePeriodicObject(activeContext)
            {
                PeriodicMethod = NRun
            };
        }
Example #2
0
 public ActivePeriodicObjectContext(IActivePeriodicObjectCommonContext commonContext)
 {
     _commonContext = commonContext;
 }