Esempio n. 1
0
        private static void LoadFromConfiguration()
        {
            var section = WebExSection.GetSection();

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