public NatashaAssemblyDomain(string key) : base(key)
    {
#if !NETSTANDARD2_0
        _load_resolver = new AssemblyDependencyResolver(AppDomain.CurrentDomain.BaseDirectory);
#endif

        ShortReferences = new ShortNameReference();
        DllAssemblies   = new ConcurrentDictionary <string, Assembly>();
    }
Пример #2
0
        public AssemblyDomain(string key) : base(key)
        {
#if !NETSTANDARD2_0
            _load_resolver = new AssemblyDependencyResolver(AppDomain.CurrentDomain.BaseDirectory);
#endif

            ShortReferences = new ShortNameReference();
            DomainManagement.Add(key, this);
        }