Example #1
0
 public void InvokeAllEvents()
 {
     PublicEvent?.Invoke();
     PrivateEvent?.Invoke();
     InternalEvent?.Invoke();
     ProtectedEvent?.Invoke();
     ProtectedInternalEvent?.Invoke();
 }
Example #2
0
 public void InvokePrivateEvent()
 {
     PrivateEvent?.Invoke(this, new PrivateEventArgs());
 }
Example #3
0
 public void RaisePrivateEvent()
 {
     PrivateEvent?.Invoke(this, EventArgs.Empty);
 }