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

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

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