usg Method
- Namespace
- SatorImaging.UnitySourceGenerator
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
Returns
- string
Ex: Dictionary<int, List<Dictionary<string, float[][]>[]>>[]