Names Class
Provides helper methods to format type and parameter names.
C#
public static class Names
- Inheritance
-
Names
Methods
Join(IEnumerable<string>) |
Returns the joined string of the specified strings with the default delimiter. |
Sort |
Sorts the specified strings and returns a string joining them with the default delimiter. |
Of |
Returns the joined string of the parameter names with the default delimiter. |
Methods Detail
Join(IEnumerable<string>)
Returns the joined string of the specified strings with the default delimiter.
C#
public static string Join(IEnumerable<string> all)
Parameters
- all
- IEnumerable<string>
The strings.
Returns
The joined string.
SortAndJoin(IEnumerable<string>)
Sorts the specified strings and returns a string joining them with the default delimiter.
C#
public static string SortAndJoin(IEnumerable<string> all)
Parameters
- all
- IEnumerable<string>
The strings.
Returns
The sorted and joined string.
OfParameters(IEnumerable<ParameterInfo>)
Returns the joined string of the parameter names with the default delimiter.
C#
public static string OfParameters(IEnumerable<ParameterInfo> all)
Parameters
- all
-
IEnumerable<Parameter
Info >
The parameters.
Returns
A comma-separated string of parameter names, sorted alphabetically.