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