public static void InvokeLoadContent() { try { LoadContent.Invoke(); } catch (Exception ex) { Program.LogError("An exception occured in XNA LoadContent: " + ex.ToString()); } }
internal static void InvokeLoadContent() { try { LoadContent.Invoke(null, EventArgs.Empty); } catch (Exception ex) { Log.AsyncR("An exception occured in XNA LoadContent: " + ex); } }
protected virtual void RaiseLoadContent(GraphicsDeviceEventArgs args) => LoadContent?.Invoke(this, args);