Facets
Gets the facets of the type, that is, the structure that the type has because of its kind and that other named types do not have. The collection is empty for a type that has no such structure.
Declaration
ITypeFacetCollection Facets { get; }Property Value
| Type | Description |
|---|---|
| ITypeFacetCollection |
Remarks
A facet is read through its typed property, as in type.Facets.Delegate?.ReturnType. Enumerating the
collection yields exactly the typed properties that are not null.
This property returns an empty collection for a type introduced by an aspect, and for a type under construction by a builder.