public static Assembly GetAssembly(string assemblyFullName) { Assembly assembly = AssemblyHelper.GetLoadedAssembly(assemblyFullName); if (assembly != null) { return(assembly); } return(Assembly.Load(assemblyFullName)); }
public static Assembly GetThemeAssembly(string themeName) { string assemblyName = GetThemeAssemblyName(themeName); Assembly assembly = AssemblyHelper.GetLoadedAssembly(assemblyName); if (assembly != null) { return(assembly); } return(LoadDXAssembly(assemblyName)); }