- Namespace
- Statiq
.Common - Containing Type
- Object
To Document Extensions
Syntax
public static IEnumerable<IDocument> ToDocuments<T>(this IEnumerable<T> objs, Func<T, NormalizedPath> sourceFunc, Func<T, NormalizedPath> destinationFunc, Func<T, IEnumerable<KeyValuePair<string, object>>> itemsFunc, Func<T, IContentProvider> contentProviderFunc = null)
Type Parameters
Name | Description |
---|---|
T |
Parameters
Name | Type | Description |
---|---|---|
objs | IEnumerable |
|
sourceFunc | Func |
|
destinationFunc | Func |
|
itemsFunc | Func |
|
contentProviderFunc | Func |
Return Value
Type | Description |
---|---|
IEnumerable |