コード例 #1
0
 public static ContextualReflectionScope Lock(string key)
 {
     if (Cache.ContainsKey(key))
     {
         return(((AssemblyDomain)(Cache[key].Target)).EnterContextualReflection());
     }
     return(Default.EnterContextualReflection());
 }
コード例 #2
0
ファイル: DomainManagment.cs プロジェクト: whuanle/Natasha
 public static ContextualReflectionScope Lock(AssemblyDomain domain)
 {
     return(domain.EnterContextualReflection());
 }