Names Class

Creates various joined names of the class, method, field.

C#
public static class Names
Inheritance
Names

Methods

Join(IEnumerable<string>)

Returns the joined string of the specified strings with the default delimiter.

SortAndJoin(IEnumerable<string>)

Sorts the specified strings and returns the joined string of them with the default delimiter.

GetMethodName(MethodInfo)

Returns the name of the specified method with the default format.

OfClasses(IEnumerable<Type>)

Returns the joined string of the class names with the default delimiter.

OfMethods(IEnumerable<MethodInfo>)

Returns the joined string of the method names with the default delimiter.

OfFields(IEnumerable<FieldInfo>)

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.

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 the joined string of 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.

GetMethodName(MethodInfo)

Returns the name of the specified method with the default format.

C#
public static string GetMethodName(MethodInfo method)

Parameters

method
MethodInfo

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.

C#
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.

C#
public static string OfMethods(IEnumerable<MethodInfo> all)

Parameters

all
IEnumerable<MethodInfo>

The methods.

Returns

The joined string.

OfFields(IEnumerable<FieldInfo>)

Returns the joined string of the field names with the default delimiter.

C#
public static string OfFields(IEnumerable<FieldInfo> all)

Parameters

all
IEnumerable<FieldInfo>

The fields.

Returns

The joined string.

Of(Type)

Gets the name representing the specified type.

C#
public static string Of(Type type)

Parameters

type
Type

The type.

Returns

The name of the type.