Table of Contents

usg Method

usg<T>(params string[])

public static string usg<T>(params string[] memberNames)

Refactor-ready full name generator.

Parameters

memberNames string[]

Returns

string

global::Full.Namespace.To.MyClass.InnerClass.Something.Generated

Type Parameters

T

Remarks

Ex: usg<MyClass.InnerClass>(nameof(Something), "Generated")

usg(object, bool)

public static string usg(object valueOrType, bool isFullName = true)

Get type definition literal of supplied object.

Parameters

valueOrType object

Throw when valueOrType is null.

isFullName bool

Returns

string

Ex: Dictionary<int, List<Dictionary<string, float[][]>[]>>[]