# ConfigurationDiagnostic

> Tracon documentation. Tracon is a .NET package family that adds a control
> plane on Microsoft Agent Framework, published as NuGet packages that run
> inside your own ASP.NET Core application.
>
> Page: https://tracon.dev/api/tracon.configurationdiagnostic/
> Summary: ConfigurationDiagnostic: Reports whether a configuration key resolves. It does not carry the value.

<div class="api-provenance">Namespace Tracon · Assembly <code>Tracon.Abstractions.dll</code></div>

Reports whether a configuration key resolves. It does not carry the value.

```csharp
public sealed record ConfigurationDiagnostic : IEquatable<ConfigurationDiagnostic>
```

<dl class="api-relations"><dt>Inheritance</dt><dd><a href="https://learn.microsoft.com/dotnet/api/system.object">object</a> ← <a href="/api/tracon.configurationdiagnostic/">ConfigurationDiagnostic</a></dd><dt>Implements</dt><dd><a href="https://learn.microsoft.com/dotnet/api/system.iequatable-1">IEquatable&lt;ConfigurationDiagnostic&gt;</a></dd><dt>Inherited Members</dt><dd><a href="https://learn.microsoft.com/dotnet/api/system.object.gettype">object.GetType()</a>, <a href="https://learn.microsoft.com/dotnet/api/system.object.tostring">object.ToString()</a>, <a href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)">object.Equals(object?)</a>, <a href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)">object.Equals(object?, object?)</a>, <a href="https://learn.microsoft.com/dotnet/api/system.object.referenceequals">object.ReferenceEquals(object?, object?)</a>, <a href="https://learn.microsoft.com/dotnet/api/system.object.gethashcode">object.GetHashCode()</a></dd></dl>

## Constructors

### <a id="Tracon_ConfigurationDiagnostic__ctor"></a> ConfigurationDiagnostic\(\)

```csharp
public ConfigurationDiagnostic()
```

## Properties

### <a id="Tracon_ConfigurationDiagnostic_Hint"></a> Hint

Gets guidance for configuring an unresolved key. The server provides it and the
UI does not translate it.

```csharp
public string? Hint { get; init; }
```

#### Property Value

 [string](https://learn.microsoft.com/dotnet/api/system.string)?

### <a id="Tracon_ConfigurationDiagnostic_Key"></a> Key

Gets the full configuration key path, for example `Tracon:Providers:OpenAI:ApiKey`.

```csharp
public required string Key { get; init; }
```

#### Property Value

 [string](https://learn.microsoft.com/dotnet/api/system.string)

### <a id="Tracon_ConfigurationDiagnostic_Resolved"></a> Resolved

Gets whether the key resolves to a non-empty value.

```csharp
public required bool Resolved { get; init; }
```

#### Property Value

 [bool](https://learn.microsoft.com/dotnet/api/system.boolean)

## Methods

### <a id="Tracon_ConfigurationDiagnostic_Equals_System_Object_"></a> Equals\(object?\)

```csharp
public override bool Equals(object? obj)
```

#### Parameters

`obj` [object](https://learn.microsoft.com/dotnet/api/system.object)?

#### Returns

 [bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### <a id="Tracon_ConfigurationDiagnostic_Equals_Tracon_ConfigurationDiagnostic_"></a> Equals\(ConfigurationDiagnostic?\)

```csharp
public bool Equals(ConfigurationDiagnostic? other)
```

#### Parameters

`other` [ConfigurationDiagnostic](/api/tracon.configurationdiagnostic/)?

#### Returns

 [bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### <a id="Tracon_ConfigurationDiagnostic_GetHashCode"></a> GetHashCode\(\)

```csharp
public override int GetHashCode()
```

#### Returns

 [int](https://learn.microsoft.com/dotnet/api/system.int32)

### <a id="Tracon_ConfigurationDiagnostic_ToString"></a> ToString\(\)

```csharp
public override string ToString()
```

#### Returns

 [string](https://learn.microsoft.com/dotnet/api/system.string)

## Operators

### <a id="Tracon_ConfigurationDiagnostic_op_Equality_Tracon_ConfigurationDiagnostic_Tracon_ConfigurationDiagnostic_"></a> operator ==\(ConfigurationDiagnostic?, ConfigurationDiagnostic?\)

```csharp
public static bool operator ==(ConfigurationDiagnostic? left, ConfigurationDiagnostic? right)
```

#### Parameters

`left` [ConfigurationDiagnostic](/api/tracon.configurationdiagnostic/)?

`right` [ConfigurationDiagnostic](/api/tracon.configurationdiagnostic/)?

#### Returns

 [bool](https://learn.microsoft.com/dotnet/api/system.boolean)

### <a id="Tracon_ConfigurationDiagnostic_op_Inequality_Tracon_ConfigurationDiagnostic_Tracon_ConfigurationDiagnostic_"></a> operator \!=\(ConfigurationDiagnostic?, ConfigurationDiagnostic?\)

```csharp
public static bool operator !=(ConfigurationDiagnostic? left, ConfigurationDiagnostic? right)
```

#### Parameters

`left` [ConfigurationDiagnostic](/api/tracon.configurationdiagnostic/)?

`right` [ConfigurationDiagnostic](/api/tracon.configurationdiagnostic/)?

#### Returns

 [bool](https://learn.microsoft.com/dotnet/api/system.boolean)
