Class ResourceEnumerator<TPropertyType>
Provides functionality to enumerate properties of an object that match a specified type. The overall idea is that we're going through all public properties of a given object and analyze them - if they match the given type, EnumeratedPropertyInfo is created, which allows to either read the current value or replace it. There is a design limitation - elements of arrays/lists/enumerables are analyzed as well, but ResourceEnumerator does not know how to generate EnumeratedPropertyInfo for elements in the list
Inherited Members
Namespace: EyeAuras.Shared.Scaffolding
Assembly: EyeAuras.Shared.Metadata.dll
Syntax
public static class ResourceEnumerator<TPropertyType>
Type Parameters
Name | Description |
---|---|
TPropertyType | The type of the properties to enumerate. |
Methods
Name | Description |
---|---|
EnumerateProperties(object) | Enumerates properties of the specified object that match the type |
EnumerateProperties(object, string) | Enumerates properties of the specified object that match the type |