# EvalRunDiffQuery

> 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.evalrundiffquery/
> Summary: EvalRunDiffQuery: Which two eval runs to compare, and which page of the result to read.

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

Which two eval runs to compare, and which page of the result to read.

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

```csharp
public EvalRunDiffQuery()
```

## Properties

### <a id="Tracon_EvalRunDiffQuery_BaselineRunId"></a> BaselineRunId

The run being compared against (the older, known-good side).

```csharp
public required Guid BaselineRunId { get; init; }
```

#### Property Value

 [Guid](https://learn.microsoft.com/dotnet/api/system.guid)

### <a id="Tracon_EvalRunDiffQuery_CandidateRunId"></a> CandidateRunId

The run being judged.

```csharp
public required Guid CandidateRunId { get; init; }
```

#### Property Value

 [Guid](https://learn.microsoft.com/dotnet/api/system.guid)

### <a id="Tracon_EvalRunDiffQuery_Skip"></a> Skip

The number of aligned cases to skip.

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

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

The maximum number of aligned cases to fetch.

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

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

Paging touches [EvalRunDiff.Cases](/api/tracon.evalrundiff/#Tracon_EvalRunDiff_Cases) only; the counters are
always for the whole diff.

### <a id="Tracon_EvalRunDiffQuery_TenantId"></a> TenantId

The tenant both runs must belong to.

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

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

Required. The tenant filter is never optional: a run belonging to
another tenant reads exactly like a run that does not exist.

## Methods

### <a id="Tracon_EvalRunDiffQuery_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_EvalRunDiffQuery_Equals_Tracon_EvalRunDiffQuery_"></a> Equals\(EvalRunDiffQuery?\)

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

`other` [EvalRunDiffQuery](/api/tracon.evalrundiffquery/)?

#### Returns

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

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

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

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

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

### <a id="Tracon_EvalRunDiffQuery_op_Equality_Tracon_EvalRunDiffQuery_Tracon_EvalRunDiffQuery_"></a> operator ==\(EvalRunDiffQuery?, EvalRunDiffQuery?\)

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

`left` [EvalRunDiffQuery](/api/tracon.evalrundiffquery/)?

`right` [EvalRunDiffQuery](/api/tracon.evalrundiffquery/)?

#### Returns

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

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

`left` [EvalRunDiffQuery](/api/tracon.evalrundiffquery/)?

`right` [EvalRunDiffQuery](/api/tracon.evalrundiffquery/)?

#### Returns

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