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