public static ContextualReflectionScope Lock(AssemblyDomain domain) { return(domain.EnterContextualReflection()); }
static DomainManagment() { Cache = new ConcurrentDictionary <string, WeakReference>(); Default = new AssemblyDomain("Default"); }
public static void AddInCache(this Delegate @delegate, AssemblyDomain domain) { _delegate_cache[@delegate] = domain; }
public static NDomain Create(AssemblyDomain domain, ComplierResultError error, ComplierResultTarget target = ComplierResultTarget.Stream) { return(Create(domain, target, error)); }
static AssemblyManagment() { Cache = new ConcurrentDictionary <string, WeakReference>(); Default = Create("Default"); }