ResolveOptions
Options to the resolve() operation.
NOT the same as the ResolveContext; ResolveContext is exposed to Token implementors and resolution hooks, whereas this struct is just to bundle a number of things that would otherwise be arguments to resolve() in a readable way.
Initializer
using AlibabaCloud.SDK.ROS.CDK.Core;
new ResolveOptions {
ITokenResolver Resolver,
IConstruct Scope,
bool Preparing = null
};
Properties
Name | Type | Description |
---|---|---|
Resolver |
ITokenResolver |
The resolver to apply to any resolvable tokens found. |
Scope |
IConstruct |
The scope from which resolution is performed. |
Preparing |
bool |
Whether the resolution is being executed during the prepare phase or not. |
Resolver
Required
public ITokenResolver Resolver { get; set; }
- Type: ITokenResolver
The resolver to apply to any resolvable tokens found.
Scope
Required
public IConstruct Scope { get; set; }
- Type: IConstruct
The scope from which resolution is performed.
Preparing
Optional
public bool Preparing { get; set; }
- Type: bool
- Default: false
Whether the resolution is being executed during the prepare phase or not.