/// <summary> /// Gets the assemblies contains. /// </summary> /// <param name="assemblyPrefix">The assembly prefix.</param> /// <param name="assemblyFilter">The assembly filter.</param> /// <returns></returns> public static IEnumerable <Assembly> GetAssembliesContains(string assemblyPrefix, AssemblyFilter assemblyFilter) { return(assemblyFilter.GetAssemblies().Where(assembly => assembly.FullName.Contains(assemblyPrefix))); }
/// <summary> /// Gets the assemblies. /// </summary> /// <param name="assemblyFilter">The assembly filter.</param> /// <returns></returns> public static IEnumerable <Assembly> GetAssemblies(AssemblyFilter assemblyFilter) { return(assemblyFilter.GetAssemblies()); }