MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / GetGenericArguments

Method GetGenericArguments

Source/Editor/Scripting/ScriptType.cs:1139–1144  ·  view source on GitHub ↗

Returns an array of type objects that represent the type arguments of a closed generic type or the type parameters of a generic type definition. An array of objects that represent the type arguments of a generic type. Returns an empty array if the current type is not a generic type.

()

Source from the content-addressed store, hash-verified

1137 /// </summary>
1138 /// <returns>An array of <see cref="T:System.Type" /> objects that represent the type arguments of a generic type. Returns an empty array if the current type is not a generic type.</returns>
1139 public Type[] GetGenericArguments()
1140 {
1141 if (_managed != null)
1142 return _managed.GetGenericArguments();
1143 throw new NotImplementedException("TODO: Script.Type.GetGenericArguments for custom types");
1144 }
1145
1146 /// <summary>
1147 /// Returns a type object that represents a generic type definition from which the current generic type can be constructed.

Callers 13

GetOwningAssemblyMethod · 0.80
RegisterTypeMethod · 0.80
GetTypeNameMethod · 0.80
GetDictionaryItemTypeMethod · 0.80
GetEntriesMethod · 0.80
GetXmlKeyMethod · 0.80
CollectionEditorClass · 0.80
OnEditClickedMethod · 0.80
InitializeMethod · 0.80
ResizeMethod · 0.80
InitializeMethod · 0.80
GetTypeDisplayNameMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected