コード例 #1
0
ファイル: PolicyContainer.cs プロジェクト: poke/monodevelop
 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)));
 }