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

# ContractMismatch

> An interface the manifest and the connector disagree on.

```csharp
public sealed record ContractMismatch : IEquatable<ContractMismatch>
```

**Implements:** `IEquatable<ContractMismatch>`

## Constructors

```csharp
public ContractMismatch(Type Contract, bool Declared)
```

An interface the manifest and the connector disagree on.

### Parameters

**Contract** `Type` *required*

The interface.

**Declared** `bool` *required*

Whether the manifest declares it, which the connector then does not implement.

## Properties

**Contract** `Type` *required*

The interface.

**Declared** `bool` *required*

Whether the manifest declares it, which the connector then does not implement.

## Methods

### Deconstruct()

```csharp
public void Deconstruct(out Type Contract, out bool Declared)
```

#### Parameters

**Contract** `Type` *required*

**Declared** `bool` *required*

### Equals()

```csharp
public bool Equals(ContractMismatch? other)
```

#### Parameters

**other** `ContractMismatch` *required*

#### Returns

`bool`

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

#### Parameters

**obj** `object` *required*

#### Returns

`bool`

### GetHashCode()

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

#### Returns

`int`

### operator !=()

```csharp
public static bool operator !=(ContractMismatch? left, ContractMismatch? right)
```

#### Parameters

**left** `ContractMismatch` *required*

**right** `ContractMismatch` *required*

#### Returns

`bool`

### operator ==()

```csharp
public static bool operator ==(ContractMismatch? left, ContractMismatch? right)
```

#### Parameters

**left** `ContractMismatch` *required*

**right** `ContractMismatch` *required*

#### Returns

`bool`

### ToString()

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

#### Returns

`string`


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