Beispiel #1
0
 public BaseEventArgs(BaseEvent evnt)
 {
     Event = evnt;
 }
Beispiel #2
0
        public virtual bool TriggerEvent(BaseEvent evnt)
        {
            if (evnt == null)
                return false;

            if (EventTriggered != null)
                EventTriggered(this, new BaseEventArgs(evnt));

            return true;
        }
Beispiel #3
0
 public virtual bool Check(BaseEvent e)
 {
     if (e == null)
         return false;
     return GetType() == e.GetType();
 }