Ejemplo n.º 1
0
        /// <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)));
        }
Ejemplo n.º 2
0
 /// <summary>
 ///     Gets the assemblies.
 /// </summary>
 /// <param name="assemblyFilter">The assembly filter.</param>
 /// <returns></returns>
 public static IEnumerable <Assembly> GetAssemblies(AssemblyFilter assemblyFilter)
 {
     return(assemblyFilter.GetAssemblies());
 }