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