made RaiseEvent use SafeInvoke

This commit is contained in:
Mister_Nebula 2022-07-05 09:59:04 +01:00
parent a9c830596c
commit eac28ab062

View File

@ -172,7 +172,7 @@ public static class Extensions
return; return;
} }
multiDelegate.GetInvocationList().ForEach(dl => dl.DynamicInvoke(args)); multiDelegate.SafeInvoke(args);
} }
public static IEnumerable<Type> GetDerivedTypes(this Type type) => public static IEnumerable<Type> GetDerivedTypes(this Type type) =>