Example #1
0
        public static StringBuilder AddNames(this StringBuilder builder, IEnumerable <Type> types)
        {
            foreach (var type in types)
            {
                builder.AddName(type);
            }

            return(builder);
        }
Example #2
0
 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);
 }