Example #1
0
        public void BeTrippedOver()
        {
            //if (Moo != null)
            //    //takes in this object(Cow), And No Addindg Information (Empty)
            //    Moo(this, EventArgs.Empty);

            // Same thing - if(?) Moo() not null
            Moo?.Invoke(this, EventArgs.Empty);
        }
Example #2
0
 public void CowChecker()
 {
     Moo?.Invoke(this, new CowEventsArgs(CowState.Awake));
 }