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