public static StringBuilder AddNames(this StringBuilder builder, IEnumerable <Type> types) { foreach (var type in types) { builder.AddName(type); } return(builder); }
public static StringBuilder AddNames(this StringBuilder builder, IEnumerable <Type> types) { foreach (var type in types) { builder.AddName(type); if (type.IsConstructedGenericType) { builder.Append("Of").AddNames(type.GenericTypeArguments); } } return(builder); }