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

# GrantReplaced

> A grant the holder lost when the vendor made another in its place.

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

**Implements:** `IEquatable<GrantReplaced>`

## Constructors

```csharp
public GrantReplaced(EntitlementRef Granted, EntitlementRef Ended)
```

A grant the holder lost when the vendor made another in its place.

### Parameters

**Granted** `EntitlementRef` *required*

The entitlement asked for.

**Ended** `EntitlementRef` *required*

The entitlement the holder held before, such as a lower level on the same object.

## Properties

**Ended** `EntitlementRef` *required*

The entitlement the holder held before, such as a lower level on the same object.

**Granted** `EntitlementRef` *required*

The entitlement asked for.

## Methods

### Deconstruct()

```csharp
public void Deconstruct(out EntitlementRef Granted, out EntitlementRef Ended)
```

#### Parameters

**Granted** `EntitlementRef` *required*

**Ended** `EntitlementRef` *required*

### Equals()

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

#### Parameters

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

#### Parameters

**left** `GrantReplaced` *required*

**right** `GrantReplaced` *required*

#### Returns

`bool`

### operator ==()

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

#### Parameters

**left** `GrantReplaced` *required*

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