Summary
Call this each time you need the value, passing in a post-processing function if required.
If no document delegate is specified, then this will get and cache the value on first request.
Syntax
public T GetValue(IDocument document, IExecutionContext context, Func<T, T> postProcessing = null)
Parameters
Name |
Type |
Description |
document |
IDocument |
The document. |
context |
IExecutionContext |
The execution context. |
postProcessing |
Func<T, T> |
An optional post-processing function. |
Return Value
Type |
Description |
T |
The result value. |