public void SendEventRegardingSavingPanelConfigurations() { OnSavePanelSettings?.Invoke(this, new ProfileHandlerEventArgs() { ProfileHandlerEA = this }); OnSavePanelSettingsJSON?.Invoke(this, new ProfileHandlerEventArgs() { ProfileHandlerEA = this }); }
public static void SavePanelSettingsJSON(IProfileHandler profileHandler) { OnSavePanelSettingsJSON?.Invoke(profileHandler, new ProfileHandlerEventArgs { ProfileHandlerCaller = profileHandler }); }
public static bool OnSavePanelSettingsJSONSubscribed() { return(OnSavePanelSettingsJSON != null && OnSavePanelSettingsJSON.GetInvocationList().Length > 0); }