ToDocument<T>(T, NormalizedPath, NormalizedPath, IEnumerable<KeyValuePair<string, object>>, IContentProvider) Method
Namespace
Statiq.Common
Containing Type
ObjectToDocumentExtensions

Syntax

public static IDocument ToDocument<T>(this T obj, in NormalizedPath source, in NormalizedPath destination, IEnumerable<KeyValuePair<string, object>> items, IContentProvider contentProvider = null)

Type Parameters

Name Description
T

Parameters

Name Type Description
obj T
source NormalizedPath
destination NormalizedPath
items IEnumerable<KeyValuePair<string, object>>
contentProvider IContentProvider

Return Value

Type Description
IDocument