> ## Documentation Index
> Fetch the complete documentation index at: https://cdktn.io/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# CSharp: ResolveOptions

> CDKTN Core API Reference for ResolveOptions in CSharp.

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 <a name="Initializer" id="cdktn.ResolveOptions.Initializer" />

```csharp theme={null}
using Io.Cdktn;

new ResolveOptions {
    ITokenResolver Resolver,
    IConstruct Scope,
    bool Preparing = null
};
```

## Properties <a name="Properties" id="Properties" />

| **Name**                                                                      | **Type**                                                        | **Description**                                                           |
| ----------------------------------------------------------------------------- | --------------------------------------------------------------- | ------------------------------------------------------------------------- |
| <code><a href="#cdktn.ResolveOptions.property.resolver">Resolver</a></code>   | <code><a href="#cdktn.ITokenResolver">ITokenResolver</a></code> | The resolver to apply to any resolvable tokens found.                     |
| <code><a href="#cdktn.ResolveOptions.property.scope">Scope</a></code>         | <code>Constructs.IConstruct</code>                              | The scope from which resolution is performed.                             |
| <code><a href="#cdktn.ResolveOptions.property.preparing">Preparing</a></code> | <code>bool</code>                                               | Whether the resolution is being executed during the prepare phase or not. |

***

### `Resolver`<sup>Required</sup> <a name="Resolver" id="cdktn.ResolveOptions.property.resolver" />

```csharp theme={null}
public ITokenResolver Resolver { get; set; }
```

* *Type:* <a href="#cdktn.ITokenResolver">ITokenResolver</a>

The resolver to apply to any resolvable tokens found.

***

### `Scope`<sup>Required</sup> <a name="Scope" id="cdktn.ResolveOptions.property.scope" />

```csharp theme={null}
public IConstruct Scope { get; set; }
```

* *Type:* Constructs.IConstruct

The scope from which resolution is performed.

***

### `Preparing`<sup>Optional</sup> <a name="Preparing" id="cdktn.ResolveOptions.property.preparing" />

```csharp theme={null}
public bool Preparing { get; set; }
```

* *Type:* bool
* *Default:* false

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

***
