void TriggerQuitEvent(object sender, ButtonEventArgs e) { if (QuitEvent != null) { QuitEvent.Invoke(this, EventArgs.Empty); } }
internal void OnQuit() { QuitEvent?.Invoke(); Dispose(); }
protected virtual void OnQuit(RemoteServer server) { QuitEvent?.Invoke(server, EventArgs.Empty); }
public static void PublishQuitEvent() { QuitEvent?.Invoke(); Instance.EmitSignal(nameof(Quit)); }
public void OnQuit(EventArgs e) { QuitEvent?.Invoke(this, e); }
protected virtual void RaiseQuitEvent(TokenEventArgs e) { QuitEvent?.Invoke(this, e); }
public static void FireQuitEvent() { QuitEvent?.Invoke(null, null); }
private void OnApplicationQuit() { QuitEvent.Invoke(); }