예제 #1
0
 public static ContextualReflectionScope Lock(AssemblyDomain domain)
 {
     return(domain.EnterContextualReflection());
 }
예제 #2
0
 static DomainManagment()
 {
     Cache   = new ConcurrentDictionary <string, WeakReference>();
     Default = new AssemblyDomain("Default");
 }
예제 #3
0
 public static void AddInCache(this Delegate @delegate, AssemblyDomain domain)
 {
     _delegate_cache[@delegate] = domain;
 }
예제 #4
0
파일: NDomain.cs 프로젝트: fucora/Natasha
 public static NDomain Create(AssemblyDomain domain, ComplierResultError error, ComplierResultTarget target = ComplierResultTarget.Stream)
 {
     return(Create(domain, target, error));
 }
예제 #5
0
 static AssemblyManagment()
 {
     Cache   = new ConcurrentDictionary <string, WeakReference>();
     Default = Create("Default");
 }