struct MonoTypeIdentifier

Identifies a managed type.

Public

Constructors

MonoTypeIdentifier

MonoTypeIdentifier() noexcept(false) = default

MonoTypeIdentifier

MonoTypeIdentifier(const String &assembly, const String &nameSpace, const String &typeName)

Methods

GetTypeName

String GetTypeName(bool includeNamespace) const

Constructs the full type name from the identifier.

staticParse

static MonoTypeIdentifier Parse(const String &typeName)

Parses a type containing generic arguments.

Recursively parses generic arguments of any parent generic arguments. Output type identifier will only have the type name and generic arguments fields populated, and optionally namespace if explicitly provided.

Fields

Assembly

String Assembly

Name of the assembly the type is the located in, without the .dll extension.

Namespace

String Namespace

Namespace of the type.

TypeName

String TypeName

Name of the type.

If type is a generic use N syntax, where N is the number of generic parameters. e.g. List1.

GenericTypeParameters

TArray<MonoTypeIdentifier> GenericTypeParameters

If type is a generic type, these should be the generic parameters to used to specialize the type.

Operators

operator==

bool operator==(const MonoTypeIdentifier &other) const

operator!=

bool operator!=(const MonoTypeIdentifier &other) const