- Namespace
- Statiq
.Common - Containing Type
- Object
To Document Extensions
Syntax
public static IDocument ToDocument<T>(this T obj, in NormalizedPath source, in NormalizedPath destination, IContentProvider contentProvider = null)
Type Parameters
Name | Description |
---|---|
T |
Parameters
Name | Type | Description |
---|---|---|
obj | T | |
source | NormalizedPath | |
destination | NormalizedPath | |
contentProvider | IContentProvider |
Return Value
Type | Description |
---|---|
IDocument |