Constructor for internal use. Use ReflectionType.get to fetch a ReflectionType.
Type descriptor.
ReadonlymutableGets the mutable system type.
ReadonlysystemGets the underlying system type.
The fully qualified name of the type, including the namespace.
Determines if the type is immutable. Meaning the values cannot be modified.
Determines if the object is serializable.
The full name of given type.
Creates an instance of the specified type using the constructor that best matches the specified parameters.
Arguments to pass to the constructor.
The newly created object.
Searches for the specified member field, using the specified binding constraints.
The string containing the name of the member field to get.
OptionalisStatic: booleanFirst member field that was found, if any. Otherwise null.
Searches for the specified members, using the specified binding constraints.
The string containing the name of the members to get.
An array containg all ReflectionMember of the type with the specified name.
Searches for the specified method.
The string containing the name of the method to get.
First ReflectionMethod that was found, if any. Otherwise undefined.
Searches for the specified method by value.
For instance methods, the target instance must be specified.
The method to search for.
Optionaltarget: any
Optionl. The target instance to search for the method in. Without a target only class methods can be found.
The ReflectionMethod that matches the given method, if any. Otherwise undefined.
Searches for the specified property.
The string containing the name of the property to get.
OptionalisStatic: booleanFirst ReflectionProperty that was found, if any. Otherwise undefined.
Retrieves all custom attributes defined on this member.
OptionalincludeSuperClasses: booleanAll custom attributes defined on this member
Returns all fields.
Array of fields in this type conforming to binding flags.
Searches for the specified members, using the specified binding constraints.
Enable to get members from super classes.
An array of System.Reflection.MemberInfo objects representing the all public members
Returns all methods.
Enable to get members from super classes.
Array of methods.
Retrieves a Attribute of a specified type that is applied to a specified member.
A custom attribute that matches T, or null if no such attribute is found.
Attributes can be added to a class, field or method using decorators.
Gets the type from which the current type directly inherits.
The base type of the current type, or null, if there is no base type.
Gets the class that declares this member.
The Type object for the class that declares this member.
Returns all methods with the specified Attribute.
Array of methods.
Determines if the type is decorated with the specified Attribute.
True if the attribute was found on the type.
Attributes can be added to a class, field or method using decorators.
Checks if this type is an array type.
Whether this type is an array.
Determines whether an instance of the current type can be assigned from an instance of the specified Type.
The type to compare with the current type.
true if assignable.
Checks if this type is an enumeration type.
Whether this type is an enum.
Gets a value indicating whether the type is one of the primitive types.
true if the type is one of the primitive types; otherwise, false.
Checks if this class is subclass of given baseType or the baseType directly.
Base class to check.
Whether this class is subclass of given base class.
Checks if this class is matches the specified otherType.
The tpye to check.
Whether this class is the same as otherType.
Returns a String representing the name of the current Type.
StaticgetReturns the ReflectionType for the specified type.
ReflectionType representing given type or null if type is null.
Staticis
The ReflectionType implements a class that provides reflection for a reflected TypeScript type.
Note
Use ReflectionType.get to get a reflection type for a TypeScript type.