Names Class
Creates various joined names of the class, method, field.
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 the joined string of them with the default delimiter. |
Get |
Returns the name of the specified method with the default format. |
Of |
Returns the joined string of the class names with the default delimiter. |
Of |
Returns the joined string of the method names with the default delimiter. |
Of |
Returns the joined string of the field names with the default delimiter. |
Of(Type) |
Gets the name representing the specified type. |
Methods Detail
Join(IEnumerable<string>)
Returns the joined string of the specified strings with the default delimiter.
public static string Join(IEnumerable<string> all)
Parameters
- all
- IEnumerable<string>
The string
s.
Returns
The joined string.
SortAndJoin(IEnumerable<string>)
Sorts the specified strings and returns the joined string of them with the default delimiter.
public static string SortAndJoin(IEnumerable<string> all)
Parameters
- all
- IEnumerable<string>
The string
s.
Returns
The sorted and joined string.
GetMethodName(MethodInfo)
Returns the name of the specified method with the default format.
public static string GetMethodName(MethodInfo method)
Parameters
- method
-
Method
Info
A method.
Returns
The name of the method with the default format.
OfClasses(IEnumerable<Type>)
Returns the joined string of the class names with the default delimiter.
public static string OfClasses(IEnumerable<Type> all)
Parameters
- all
- IEnumerable<Type>
The classes.
Returns
The joined string.
OfMethods(IEnumerable<MethodInfo>)
Returns the joined string of the method names with the default delimiter.
public static string OfMethods(IEnumerable<MethodInfo> all)
Parameters
- all
-
IEnumerable<Method
Info >
The methods.
Returns
The joined string.
OfFields(IEnumerable<FieldInfo>)
Returns the joined string of the field names with the default delimiter.
public static string OfFields(IEnumerable<FieldInfo> all)
Parameters
- all
-
IEnumerable<Field
Info >
The fields.
Returns
The joined string.
Of(Type)
Gets the name representing the specified type.
public static string Of(Type type)
Parameters
- type
- Type
The type.
Returns
The name of the type.