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