ToDocuments<T>(IEnumerable<T>, Func<T, IContentProvider>) Method
Namespace
Statiq.Common
Containing Type
ObjectToDocumentExtensions

Syntax

public static IEnumerable<IDocument> ToDocuments<T>(this IEnumerable<T> objs, Func<T, IContentProvider> contentProviderFunc = null)

Type Parameters

Name Description
T

Parameters

Name Type Description
objs IEnumerable<T>
contentProviderFunc Func<T, IContentProvider>

Return Value

Type Description
IEnumerable<IDocument>