Esempio n. 1
0
 public static ContextualReflectionScope Lock(string key)
 {
     if (DomainDic.ContainsKey(key))
     {
         return(((AssemblyDomain)(DomainDic[key].Target)).EnterContextualReflection());
     }
     return(Default.EnterContextualReflection());
 }
Esempio n. 2
0
 public static ContextualReflectionScope Lock(AssemblyDomain domain)
 {
     return(domain.EnterContextualReflection());
 }