예제 #1
0
 public static Enforcer AddDomainMatchingFunc(this Enforcer enforcer, Func <string, string, bool> func)
 {
     enforcer.AddNamedDomainMatchingFunc(PermConstants.DefaultRoleType, func);
     return(enforcer);
 }