- Namespace
- Statiq
.Common - Containing Type
- Object
To Document Extensions
Syntax
public static IEnumerable<IDocument> ToDocuments<T>(this IEnumerable<T> objs, 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 |
|
| destinationFunc | Func |
|
| itemsFunc | Func |
|
| contentProviderFunc | Func |
Return Value
| Type | Description |
|---|---|
| IEnumerable |