Exemple #1
0
 public void InvokeAllEvents()
 {
     PublicEvent?.Invoke();
     PrivateEvent?.Invoke();
     InternalEvent?.Invoke();
     ProtectedEvent?.Invoke();
     ProtectedInternalEvent?.Invoke();
 }
Exemple #2
0
 private void ProtectedEventHandler(ProtectedEvent e)
 {
     ProtectedEventHandlerInvokeCount++;
 }
 private void OnProtectedEvent(ProtectedEvent e)
 {
     ProtectedEventHandlerInvokeCount++;
 }
Exemple #4
0
 public void InvokeProtectedEvent()
 {
     ProtectedEvent?.Invoke(this, new ProtectedEventArgs());
 }