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