Method EnumerateProperties
EnumerateProperties(object)
Enumerates properties of the specified object that match the type TPropertyType
.
Declaration
public static IEnumerable<ResourceEnumerator<TPropertyType>.EnumeratedPropertyInfo<TPropertyType>> EnumerateProperties(object targetObject)
Parameters
Type | Name | Description |
---|---|---|
object | targetObject | The object whose properties will be enumerated. |
Returns
Type | Description |
---|---|
IEnumerable<ResourceEnumerator<TPropertyType>.EnumeratedPropertyInfo<TPropertyType>> | An enumerable of ResourceEnumerator<TPropertyType>.EnumeratedPropertyInfo<TPropertyInfo> containing information about each enumerated property. |
EnumerateProperties(object, string)
Enumerates properties of the specified object that match the type TPropertyType
,
including a specified property path.
Declaration
public static IEnumerable<ResourceEnumerator<TPropertyType>.EnumeratedPropertyInfo<TPropertyType>> EnumerateProperties(object targetObject, string propertyPath)
Parameters
Type | Name | Description |
---|---|---|
object | targetObject | The object whose properties will be enumerated. |
string | propertyPath | The initial property path to prepend to enumerated properties. |
Returns
Type | Description |
---|---|
IEnumerable<ResourceEnumerator<TPropertyType>.EnumeratedPropertyInfo<TPropertyType>> | An enumerable of ResourceEnumerator<TPropertyType>.EnumeratedPropertyInfo<TPropertyInfo> containing information about each enumerated property. |