Inheritance: BaseEntity
        protected void CreateTimer(int timeoutMinutes) {
            var thisService = ServicesMap.GetByEntityType(GetType());

            Timer = new TimerEntity {
                PublishClass = thisService.PublishClass + ", " + thisService.Assembly,
                Disabled = false,
                TimeoutMinutes = timeoutMinutes
            };
        }
Exemple #2
0
        protected void CreateTimer(int timeoutMinutes)
        {
            var thisService = ServicesMap.GetByEntityType(GetType());

            Timer = new TimerEntity {
                PublishClass   = thisService.PublishClass + ", " + thisService.Assembly,
                Disabled       = false,
                TimeoutMinutes = timeoutMinutes
            };
        }