# AgentSourceDiagnostic

> 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.agentsourcediagnostic/
> Summary: AgentSourceDiagnostic: Describes one agent source registered in the catalog.

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

Describes one agent source registered in the catalog.

```csharp
public sealed record AgentSourceDiagnostic : IEquatable<AgentSourceDiagnostic>
```

<dl class="api-relations"><dt>Inheritance</dt><dd><a href="https://learn.microsoft.com/dotnet/api/system.object">object</a> ← <a href="/api/tracon.agentsourcediagnostic/">AgentSourceDiagnostic</a></dd><dt>Implements</dt><dd><a href="https://learn.microsoft.com/dotnet/api/system.iequatable-1">IEquatable&lt;AgentSourceDiagnostic&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_AgentSourceDiagnostic__ctor"></a> AgentSourceDiagnostic\(\)

```csharp
public AgentSourceDiagnostic()
```

## Properties

### <a id="Tracon_AgentSourceDiagnostic_Implementation"></a> Implementation

Gets the implementation type name.

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

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

Gets the source name.

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

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

Gets the source priority.

```csharp
public required int Priority { get; init; }
```

#### Property Value

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

### <a id="Tracon_AgentSourceDiagnostic_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_AgentSourceDiagnostic_Equals_Tracon_AgentSourceDiagnostic_"></a> Equals\(AgentSourceDiagnostic?\)

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

`other` [AgentSourceDiagnostic](/api/tracon.agentsourcediagnostic/)?

#### Returns

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

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

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

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

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

### <a id="Tracon_AgentSourceDiagnostic_op_Equality_Tracon_AgentSourceDiagnostic_Tracon_AgentSourceDiagnostic_"></a> operator ==\(AgentSourceDiagnostic?, AgentSourceDiagnostic?\)

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

`left` [AgentSourceDiagnostic](/api/tracon.agentsourcediagnostic/)?

`right` [AgentSourceDiagnostic](/api/tracon.agentsourcediagnostic/)?

#### Returns

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

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

`left` [AgentSourceDiagnostic](/api/tracon.agentsourcediagnostic/)?

`right` [AgentSourceDiagnostic](/api/tracon.agentsourcediagnostic/)?

#### Returns

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