public static Assembly GetAssembly(string assemblyName) { AssemblySettingElement assemblySetting = ConfigurationController.CurrentWebConfig.AssemblySettings[assemblyName]; if (assemblySetting == null) { throw new OMFException(string.Format("Couldn't find assemblySetting: '{0}'", (object)assemblyName)); } return(assemblySetting.GetAssembly()); }
public void Add(AssemblySettingElement element) { this.BaseAdd((ConfigurationElement)element); }