Gets an
IMetadata
for a given instance of the object type.
- Namespace
- Statiq
.Common - Containing Type
- PropertyMetadata
<T>
Syntax
public static IMetadata For(T instance)
Parameters
Name | Type | Description |
---|---|---|
instance | T | The object instance to present as metadata. |
Return Value
Type | Description |
---|---|
IMetadata | A metadata collection for the properties of the provided instance. |