- Namespace
- Statiq
.Common - Containing Type
- ConfigExtensions
Syntax
public static Task<TValue> GetValueAsync<TValue>(this Config<TValue> config, IDocument document, IExecutionContext context, Func<TValue, TValue> transform = null)
Type Parameters
| Name | Description |
|---|---|
| TValue |
Parameters
| Name | Type | Description |
|---|---|---|
| config | Config |
|
| document | IDocument | |
| context | IExecutionContext | |
| transform | Func |
Return Value
| Type | Description |
|---|---|
| Task |