Method GetStaticProperties
GetStaticProperties<TProperty>(Type)
Gets all static properties of the specified type in the specifed container type.
Returned only not null properties of the exact type TProperty
.
public static IEnumerable<TProperty> GetStaticProperties<TProperty>(Type containerType)
Parameters
containerType
Type
Returns
- IEnumerable<TProperty>
Type Parameters
TProperty
Type of the properties.