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

Syntax

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

Type Parameters

Name Description
T

Parameters

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

Return Value

Type Description
IEnumerable<IDocument>