/// <summary>
 /// Turns off the best practice enforcement for the given context.
 /// </summary>
 public static void DoNotEnforceBestPractices(this IUnsubscribeContext context)
 {
     context.Extensions.SetDoNotEnforceBestPractices();
 }
예제 #2
0
 /// <summary>
 /// Turns off the best practice enforcement for the given context.
 /// </summary>
 public static void DoNotEnforceBestPractices(this IUnsubscribeContext context)
 {
     Guard.AgainstNull(nameof(context), context);
     context.Extensions.SetDoNotEnforceBestPractices();
 }