示例#1
0
 public bool DirectHas <T> (string scope)
 {
     return(policies != null && policies.ContainsKey(new PolicyKey(typeof(T), scope)));
 }
示例#2
0
 internal bool DirectHas(Type type, string scope)
 {
     return(policies != null && policies.ContainsKey(new PolicyKey(type, scope)));
 }