Class TypeExtensions
Extension methods for Type objects.
Inherited Members
Namespace: Unity.XR.CoreUtils
Assembly: solution.dll
Syntax
public static class TypeExtensions
Methods
Name | Description |
---|---|
Get |
Adds all types assignable to this one to a list, using an optional predicate test. |
Get |
Gets the first attribute of a given type. |
Get |
Finds all types that extend the given class type and appends them to a list If the input type is not an class type, no action is taken. |
Get |
Search by name through a fields of a type and its base types and return the field if one is found. |
Get |
Gets a specific field of the Type or any of its base Types. |
Get |
Gets all fields of the Type or any of its base Types. |
Get |
Get the fields with attribute of |
Get |
Returns a human-readable, assembly qualified name for a class with its assembly qualified generic arguments filled in. |
Get |
Searches through all interfaces implemented by this type and, if any of them match the given generic interface, appends them to a list. |
Get |
Finds all types that implement the given interface type and appends them to a list. If the input type is not an interface type, no action is taken. |
Get |
Gets the field info on a collection of classes that are from a collection of interfaces. |
Get |
Searches this type and all base types for a method by name. |
Get |
Returns a human-readable name for a class with its assembly qualified generic arguments filled in. |
Get |
Returns a human-readable name for a class with its generic arguments filled in. |
Get |
Gets all properties of the Type or any of its base Types. |
Get |
Gets a specific property of the Type or any of its base Types. |
Is |
Tests if class type IsAssignableFrom or IsSubclassOf another type. |
Is |
Returns an array of types from the current type back to the declaring type that includes an inherited attribute. |