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