static bool | Reflects the value of a field from an object. |
static bool | Reflects the value of a property from an object. |
static bool | Reflects the value of a method from an object. |
static bool | Get the value of a field, property, or method that is passed in by name from an object. |
static T | Get the value of a field, property, or method that is passed in by name from an object. |
static Type [] | Retrieves all instantiatable types which are assignable from the given type T |
static Type [] | Retrieves all classes which are tagged with the specified T attribute |
static MethodInfo [] | Retrieves all methods which are tagged with the specified T attribute |
static bool Meta.WitAi.Utilities.ReflectionUtils.ReflectFieldValue< T > ( object obj, string fieldName, out T data ) |
---|
Reflects the value of a field from an object. Parameters obj The object to reflect the field value from. fieldNameThe name of the field. dataThe output parameter to store the reflected field value. Returns True if the field exists, false otherwise. |
static bool Meta.WitAi.Utilities.ReflectionUtils.ReflectPropertyValue< T > ( object obj, string fieldName, out T data ) |
---|
Reflects the value of a property from an object. Parameters obj The object to reflect the property value from. fieldNameThe name of the property. dataThe output parameter to store the reflected property value. Returns True if the property exists, false otherwise. |
static bool Meta.WitAi.Utilities.ReflectionUtils.ReflectMethodValue< T > ( object obj, string fieldName, out T data ) |
---|
Reflects the value of a method from an object. Parameters obj The object to reflect the method value from. fieldNameThe name of the method. dataThe output parameter to store the reflected method value. Returns True if the method exists, false otherwise. |
static bool Meta.WitAi.Utilities.ReflectionUtils.TryReflectValue< T > ( object obj, string fieldName, out T value ) |
---|
Get the value of a field, property, or method that is passed in by name from an object. Priority Search Order:
Parameters obj The object to reflect the value from. fieldNameThe name of the field, property, or method. valueThe resulting reflected value |
static T Meta.WitAi.Utilities.ReflectionUtils.ReflectValue< T > ( object obj, string fieldName ) |
---|
Get the value of a field, property, or method that is passed in by name from an object. Priority Search Order:
Parameters obj The object to reflect the value from. fieldNameThe name of the field, property, or method. valueThe reflected value of the field/property/method called fieldName Exceptions ArgumentException Thrown when no field, property, or method is found with the given name. |
static Type [] Meta.WitAi.Utilities.ReflectionUtils.GetAllAssignableTypes< T > ( ) |
---|
Retrieves all instantiatable types which are assignable from the given type T Parameters instance the type on which this is called Returns a collection of types |
static Type [] Meta.WitAi.Utilities.ReflectionUtils.GetTypesWithAttribute< T > ( ) |
---|
Retrieves all classes which are tagged with the specified T attribute |
static MethodInfo [] Meta.WitAi.Utilities.ReflectionUtils.GetMethodsWithAttribute< T > ( ) |
---|
Retrieves all methods which are tagged with the specified T attribute |