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

# DotHttpEnvironment

> Represents the configuration from an http-client.env.json file.

## Definition

**Assembly:** CloudNimble.Breakdance.DotHttp.dll

**Namespace:** CloudNimble.Breakdance.DotHttp.Models

**Inheritance:** System.Object

## Syntax

```csharp theme={"dark"}
CloudNimble.Breakdance.DotHttp.Models.DotHttpEnvironment
```

## Summary

Represents the configuration from an http-client.env.json file.

## Remarks

Supports \$shared variables, environment-specific values, and provider-based secrets.

## Examples

```csharp theme={"dark"}
{
  "$shared": {
    "ApiVersion": "v2"
  },
  "dev": {
    "HostAddress": "https://localhost:5001"
  },
  "prod": {
    "HostAddress": "https://api.example.com"
  }
}
```

## Constructors

### &#x20;.ctor

#### Syntax

```csharp theme={"dark"}
public DotHttpEnvironment()
```

### &#x20;.ctor Inherited

> [!NOTE]
>
> Inherited from `object`

#### Syntax

```csharp theme={"dark"}
public Object()
```

## Properties

### &#x20;Environments

Gets or sets the environment-specific variable sets, keyed by environment name.

#### Syntax

```csharp theme={"dark"}
public System.Collections.Generic.Dictionary<string, System.Collections.Generic.Dictionary<string, CloudNimble.Breakdance.DotHttp.Models.EnvironmentValue>> Environments { get; set; }
```

#### Property Value

Type: `System.Collections.Generic.Dictionary<string, System.Collections.Generic.Dictionary<string, CloudNimble.Breakdance.DotHttp.Models.EnvironmentValue>>`

#### Remarks

Common environment names include "dev", "staging", and "prod".

### &#x20;Shared

Gets or sets the shared variables that apply to all environments.

#### Syntax

```csharp theme={"dark"}
public System.Collections.Generic.Dictionary<string, CloudNimble.Breakdance.DotHttp.Models.EnvironmentValue> Shared { get; set; }
```

#### Property Value

Type: `System.Collections.Generic.Dictionary<string, CloudNimble.Breakdance.DotHttp.Models.EnvironmentValue>`

#### Remarks

Parsed from the "\$shared" section in http-client.env.json.

## Methods

### &#x20;Equals Inherited Virtual

> [!NOTE]
>
> Inherited from `object`

#### Syntax

```csharp theme={"dark"}
public virtual bool Equals(object obj)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `obj` | `object?` | - |

#### Returns

Type: `bool`

### &#x20;Equals Inherited

> [!NOTE]
>
> Inherited from `object`

#### Syntax

```csharp theme={"dark"}
public static bool Equals(object objA, object objB)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `objA` | `object?` | - |
| `objB` | `object?` | - |

#### Returns

Type: `bool`

### &#x20;GetHashCode Inherited Virtual

> [!NOTE]
>
> Inherited from `object`

#### Syntax

```csharp theme={"dark"}
public virtual int GetHashCode()
```

#### Returns

Type: `int`

### &#x20;GetType Inherited

> [!NOTE]
>
> Inherited from `object`

#### Syntax

```csharp theme={"dark"}
public System.Type GetType()
```

#### Returns

Type: `System.Type`

### &#x20;MemberwiseClone Inherited

> [!NOTE]
>
> Inherited from `object`

#### Syntax

```csharp theme={"dark"}
protected internal object MemberwiseClone()
```

#### Returns

Type: `object`

### &#x20;ReferenceEquals Inherited

> [!NOTE]
>
> Inherited from `object`

#### Syntax

```csharp theme={"dark"}
public static bool ReferenceEquals(object objA, object objB)
```

#### Parameters

| Name | Type | Description |
| - | - | - |
| `objA` | `object?` | - |
| `objB` | `object?` | - |

#### Returns

Type: `bool`

### &#x20;ToString Inherited Virtual

> [!NOTE]
>
> Inherited from `object`

#### Syntax

```csharp theme={"dark"}
public virtual string ToString()
```

#### Returns

Type: `string?`


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.