Пример #1
0
 public TimerTask(string timerName, CbRichTimer handler, TimerConfiguration config, object theTag)
 {
     this.callBackHandler    = handler;
     this.timerConfiguration = config;
     this.name = timerName;
     this.tag  = theTag;
 }
Пример #2
0
        public override bool Equals(object obj)
        {
            TimerConfiguration configuration = obj as TimerConfiguration;

            if (configuration == null)
            {
                return(false);
            }
            return(this == configuration);
        }