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