Exemplo n.º 1
0
 public static ILGenerator AddToEvent <T>(this ILGenerator generator, string eventName)
 => generator.AddToEvent(typeof(T), eventName);
Exemplo n.º 2
0
 public static ILGenerator AddToEvent(this ILGenerator generator, Type type, string eventName)
 => generator.AddToEvent(GetEventInfo(type, eventName));