public static void OnError(object sender, CoreErrorEventArgs e) { Error?.Invoke(sender, e); }
public static void OnError(CoreErrorEventArgs e) { OnError(null, e); }