CustomDocument.

MetadataAs<T>() Method

Summary

Presents metadata values as a specific type (see Wyam.Common.Meta.IMetadata).
Assembly
Wyam.Core.dll
Namespace
Wyam.Core.Documents
Containing Type
CustomDocument

Syntax

public IMetadata<T> MetadataAs<T>()

Type Parameters

Name Description
T The type metadata values should be converted to.

Return Value

Type Description
IMetadata<T> A strongly-typed Wyam.Common.Meta.IMetadata object that returns values converted to type T.
GitHub