public AssemblyDomain(string key) : base(key) { #if !NETSTANDARD2_0 _load_resolver = new AssemblyDependencyResolver(AppDomain.CurrentDomain.BaseDirectory); #endif ShortReferences = new ShortNameReference(); DllAssemblies = new ConcurrentDictionary <string, Assembly>(); DomainManagement.Add(key, this); }
static NatashaReferenceDomain() { DefaultDomain = new NatashaReferenceDomain(); DomainManagement.Add("Default", DefaultDomain); }