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
System.String[]
Preparing
True when we are still preparing, false if we're rendering the final output.
bool Preparing { get; }
Property Value
System.Boolean
Scope
The scope from which resolution has been initiated.
IConstruct Scope { get; }
Property Value
Constructs.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 System.Object
- options IResolveChangeContextOptions
Returns
System.Object