Пример #1
0
 Consumer()
 {
     MorningAlarmEvent.AddListener(this.PrintClock);
 }
Пример #2
0
        void MorningArrived()
        {
            DateTime time = DateTime.Today;

            MorningAlarmEvent.PushEvent(time);
        }