예제 #1
0
        private static void LoadFromConfiguration()
        {
            var section = WebExSection.GetSection();

            ActivationAssemblies = section.ActivationAssemblies
                                   .Cast <ConfigurationElementCollectionEx.AssemblyElement>()
                                   .Select(x => x.Assembly)
                                   //.Except(HttpContextEx.IgnoredAssemblies)
                                   .ToList();
        }
예제 #2
0
 private static void LoadFromConfiguration()
 {
     try
     {
         var section = WebExSection.GetSection();
         IgnoredAssemblies = section.IgnoredAssemblies
                             .Cast <ConfigurationElementCollectionEx.AssemblyElement>()
                             .Select(x => x.Assembly)
                             .ToList();
     }
     catch { }
 }