Interface IResolveContext
Current resolution context for tokens.
Namespace: Amazon.CDK
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IResolveContext
Syntax (vb)
Public Interface IResolveContext
Synopsis
Properties
DocumentPath | Path in the JSON document that is being constructed. |
Preparing | True when we are still preparing, false if we're rendering the final output. |
Scope | The scope from which resolution has been initiated. |
Methods
RegisterPostProcessor(IPostProcessor) | Use this postprocessor after the entire token structure has been resolved. |
Resolve(object, IResolveChangeContextOptions?) | Resolve an inner object. |
Properties
DocumentPath
Path in the JSON document that is being constructed.
string[] DocumentPath { get; }
Property Value
string[]
Preparing
True when we are still preparing, false if we're rendering the final output.
bool Preparing { get; }
Property Value
Scope
The scope from which resolution has been initiated.
IConstruct Scope { get; }
Property Value
IConstruct
Methods
RegisterPostProcessor(IPostProcessor)
Use this postprocessor after the entire token structure has been resolved.
void RegisterPostProcessor(IPostProcessor postProcessor)
Parameters
- postProcessor IPostProcessor
Resolve(object, IResolveChangeContextOptions?)
Resolve an inner object.
object Resolve(object x, IResolveChangeContextOptions? options = null)
Parameters
- x object
- options IResolveChangeContextOptions