/// <summary>
 /// Updates the assembly cache from the appdomain
 /// </summary>
 private static void UpdateAssemblies()
 {
     assemblies = (from assembly in AppDomain.CurrentDomain.GetAssemblies()
                   where IgnoredAssemblies != null ? !IgnoredAssemblies.Any(asm => asm(assembly)) : true
                   where !assembly.IsDynamic
                   where !assembly.ReflectionOnly
                   select assembly).ToArray();
 }
Exemplo n.º 2
0
 static bool AssemblyIsNotIgnored(Assembly assembly)
 {
     return(!IgnoredAssemblies.Any(ignore => ignore(assembly)));
 }