Beispiel #1
0
 /// <summary>
 /// Gets whether the invocation represents an event unsubscription (-=).
 /// </summary>
 public static bool IsEventAccessor(this IMethodInvocation invocation)
 => invocation.IsEventAddAccessor() || invocation.IsEventRemoveAccessor();