- 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, IContentProvider> contentProviderFunc = null)
Type Parameters
Name | Description |
---|---|
T |
Parameters
Name | Type | Description |
---|---|---|
objs | IEnumerable |
|
destinationFunc | Func |
|
contentProviderFunc | Func |
Return Value
Type | Description |
---|---|
IEnumerable |