Beispiel #1
0
        /// <summary>
        /// Creates a new scope for the current AssemblyLoaderContext
        /// </summary>
        internal AssemblyLoaderContext NewScope(AssemblyName name)
        {
            var scope = new AssemblyLoaderContext(name, this);

            Children.Add(scope);

            return(scope);
        }
Beispiel #2
0
 private AssemblyLoaderContext(AssemblyName name, AssemblyLoaderContext parent)
 {
     Parent       = parent;
     AssemblyName = name;
 }