[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

This class offers utililty methods around introspection.

The following tables list the members exposed by the PropertyHelper type.

Public Methods

  NameDescription
static memberAddIndexedProperties
Adds to the given list of property descriptors the indexed properties, i.e. properties have a getter method taking a single Int value as a parameter.

static memberAddMappedProperties
Adds to the given list of property descriptors the mapped properties, ie. properties that have a getter method taking a single String value as a parameter.

static memberAddSimpleProperties
Adds to the given list of property descriptors the properties of the given class using the introspected properties. This also finds array and indexed properties.

Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
static memberGetAccessorPropertyName
Gets the name that should be assigned to the property bound to the accessorMethod

static memberGetAccessors
Enumerates all accessor methods for a type

static memberGetGetter
Return getter for the given member

GetHashCode
Serves as a hash function for a particular type. GetHashCode() is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from Object.)
static memberGetIndexedAccessors
Returns an enumerable that provides all accessors that take one parameter of type int.

static memberGetMappedAccessors
Returns an enumerable that provides all accessors that take one parameter of type string.

static memberGetProperties
Introspects the given class and returns event property descriptors for each property found in the class itself, it's superclasses and all interfaces this class and the superclasses implements.

static memberGetSimpleAccessors
Returns an enumerable that provides all accessors that have the no parameters.

static memberGetSimpleFields
Returns all simple fields

GetType
Gets the Type of the current instance.
(Inherited from Object.)
static memberRemoveClrProperties
Remove CLR specific properties from the given list of property descriptors.

static memberRemoveDuplicateProperties
Removes duplicate properties using the property name to find unique properties.

ToString
Returns a String that represents the current Object.
(Inherited from Object.)

Protected Methods

  NameDescription
Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)

Public Constructors

  NameDescription
PropertyHelperNew