Skip to content

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.

ResolverRequired

public ITokenResolver Resolver { get; set; }

The resolver to apply to any resolvable tokens found.


ScopeRequired

public IConstruct Scope { get; set; }

The scope from which resolution is performed.


PreparingOptional

public bool Preparing { get; set; }
  • Type: bool
  • Default: false

Whether the resolution is being executed during the prepare phase or not.