예제 #1
0
        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());
        }
예제 #2
0
 public void Add(AssemblySettingElement element)
 {
     this.BaseAdd((ConfigurationElement)element);
 }