WriteFormatted() публичный Метод

public WriteFormatted ( ) : string
Результат string
Пример #1
0
 public void WriteFormatted(StringBuilder text)
 {
     ParameterType.WriteFormatted(text);
     if (!ParameterType.IsPointer)
     {
         text.Append(" ");
     }
     text.Append(Name);
 }
Пример #2
0
 public void WriteFormatted(StringBuilder text)
 {
     ReturnType.WriteFormatted(text);
     if (!ReturnType.IsPointer)
     {
         text.Append(" ");
     }
     text.Append(Name);
     text.Append(" (");
     for (int i = 0; i < Parameters.Count; i++)
     {
         if (i > 0)
         {
             text.Append(", ");
         }
         Parameters [i].WriteFormatted(text);
     }
     text.Append(");");
 }