ToDocument<T>(T, IContentProvider) Method
Namespace
Statiq.Common
Containing Type
ObjectToDocumentExtensions

Syntax

public static IDocument ToDocument<T>(this T obj, IContentProvider contentProvider = null)

Type Parameters

Name Description
T

Parameters

Name Type Description
obj T
contentProvider IContentProvider

Return Value

Type Description
IDocument