예제 #1
0
 public static void ForTypesAssignableTo <T>(this IFilterConfiguration cfg)
 {
     cfg.When(x => x.ActionInstance is T);
 }
예제 #2
0
 public static void Always(this IFilterConfiguration cfg)
 {
     cfg.When(x => true);
 }