AsDynamic(IDocument) Method
Presents the metadata of a document as a dynamic object. Cast the return object to IDocument to convert it back to a document.
Namespace
Statiq.Common
Containing Type
IDocumentExtensions

Syntax

public static dynamic AsDynamic(this IDocument document)

Parameters

Name Type Description
document IDocument The document.

Return Value

Type Description
dynamic A dynamic object that contains the document metadata.