コード例 #1
0
        public static Assembly GetAssembly(string assemblyFullName)
        {
            Assembly assembly = AssemblyHelper.GetLoadedAssembly(assemblyFullName);

            if (assembly != null)
            {
                return(assembly);
            }
            return(Assembly.Load(assemblyFullName));
        }
コード例 #2
0
        public static Assembly GetThemeAssembly(string themeName)
        {
            string   assemblyName = GetThemeAssemblyName(themeName);
            Assembly assembly     = AssemblyHelper.GetLoadedAssembly(assemblyName);

            if (assembly != null)
            {
                return(assembly);
            }
            return(LoadDXAssembly(assemblyName));
        }