public static IEnumerable <IFormatModule> GetModulesFromTypes(IEnumerable <Type> types) { return(types.SelectMany(x => FormatModuleRegistry.EnumerateModulesWithType(x))); }
public static string GetFilter(Type type) { return(string.Join("|", FormatModuleRegistry.EnumerateModulesWithType(type).Select(x => GetFilter(x)))); }