> ## 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.

# Discovery

> What a tenant adds to the manifest.

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

**Implements:** `IEquatable<Discovery>`

## Constructors

```csharp
public Discovery(IReadOnlyList<TenantFields> Fields, IReadOnlyList<CatalogReadError> ReadErrors)
```

What a tenant adds to the manifest.

### Parameters

**Fields** `IReadOnlyList\<TenantFields\>` *required*

**Type:** `IReadOnlyList<TenantFields>`

The fields it adds, by the path each attaches at.

**ReadErrors** `IReadOnlyList\<CatalogReadError\>` *required*

**Type:** `IReadOnlyList<CatalogReadError>`

The parts that could not be read.

## Properties

**Fields** `IReadOnlyList\<TenantFields\>` *required*

**Type:** `IReadOnlyList<TenantFields>`

The fields it adds, by the path each attaches at.

**None** `Discovery` *required*

A tenant that adds nothing.

**PasswordRules** `PasswordRequirements`

The rules the tenant holds a supplied password to, where it raises them above what the credential's fields declare, or [null](https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/null) when it does not.

**ReadErrors** `IReadOnlyList\<CatalogReadError\>` *required*

**Type:** `IReadOnlyList<CatalogReadError>`

The parts that could not be read.

## Methods

### Deconstruct()

```csharp
public void Deconstruct(out IReadOnlyList<TenantFields> Fields, out IReadOnlyList<CatalogReadError> ReadErrors)
```

#### Parameters

**Fields** `IReadOnlyList\<TenantFields\>` *required*

**Type:** `IReadOnlyList<TenantFields>`

**ReadErrors** `IReadOnlyList\<CatalogReadError\>` *required*

**Type:** `IReadOnlyList<CatalogReadError>`

### Equals()

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

#### Parameters

**other** `Discovery` *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 !=(Discovery? left, Discovery? right)
```

#### Parameters

**left** `Discovery` *required*

**right** `Discovery` *required*

#### Returns

`bool`

### operator ==()

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

#### Parameters

**left** `Discovery` *required*

**right** `Discovery` *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.