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
Document |
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
Register |
Use this postprocessor after the entire token structure has been resolved. |
Resolve(Object, IResolve |
Resolve an inner object. |
Properties
DocumentPath
Path in the JSON document that is being constructed.
string[] DocumentPath { get; }
Property Value
System.
Preparing
True when we are still preparing, false if we're rendering the final output.
bool Preparing { get; }
Property Value
System.
Scope
The scope from which resolution has been initiated.
IConstruct Scope { get; }
Property Value
Constructs.
Methods
RegisterPostProcessor(IPostProcessor)
Use this postprocessor after the entire token structure has been resolved.
void RegisterPostProcessor(IPostProcessor postProcessor)
Parameters
- postProcessor IPost
Processor
Resolve(Object, IResolveChangeContextOptions)
Resolve an inner object.
object Resolve(object x, IResolveChangeContextOptions options = null)
Parameters
- x System.
Object - options IResolve
Change Context Options
Returns
System.