Ejemplo n.º 1
0
        /// <summary>
        /// Load assembly by name object<br/>
        /// 根据名称对象加载程序集<br/>
        /// </summary>
        private Assembly Load(AssemblyName assemblyName)
        {
            var assembly = AssemblyContext.LoadFromAssemblyName(assemblyName);

            return(HandleLoadedAssembly(assembly));
        }
Ejemplo n.º 2
0
        private Assembly Load(string name)
        {
            var assembly = AssemblyContext.LoadFromAssemblyName(new AssemblyName(name));

            return(HandleLoadedAssembly(assembly));
        }