# IDurableListCommandHandler&lt;T&gt; Methods

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.journaling/orleans.journaling.idurablelistcommandhandler-1/)

## ApplyAdd(T) {#applyadd-t-195e2584}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.journaling/orleans.journaling.idurablelistcommandhandler-1/methods/applyadd-t-195e2584/)

```csharp
public abstract void ApplyAdd(T item)
```

Applies an add command.

### Parameters

- `item` (`T`)

## ApplyClear {#applyclear-2f10b1c7}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.journaling/orleans.journaling.idurablelistcommandhandler-1/methods/applyclear-2f10b1c7/)

```csharp
public abstract void ApplyClear()
```

Applies a clear command.

## ApplyInsert(int, T) {#applyinsert-int-t-9e1b69c7}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.journaling/orleans.journaling.idurablelistcommandhandler-1/methods/applyinsert-int-t-9e1b69c7/)

```csharp
public abstract void ApplyInsert(int index, T item)
```

Applies an insert command.

### Parameters

- `index` (`int`)
- `item` (`T`)

## ApplyRemoveAt(int) {#applyremoveat-int-a5485e3e}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.journaling/orleans.journaling.idurablelistcommandhandler-1/methods/applyremoveat-int-a5485e3e/)

```csharp
public abstract void ApplyRemoveAt(int index)
```

Applies a remove-at command.

### Parameters

- `index` (`int`)

## ApplySet(int, T) {#applyset-int-t-830819ea}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.journaling/orleans.journaling.idurablelistcommandhandler-1/methods/applyset-int-t-830819ea/)

```csharp
public abstract void ApplySet(int index, T item)
```

Applies a set command.

### Parameters

- `index` (`int`)
- `item` (`T`)

## Reset(int) {#reset-int-bf02cfe5}

[Dedicated page](/orleans/docs/api/csharp/microsoft.orleans.journaling/orleans.journaling.idurablelistcommandhandler-1/methods/reset-int-bf02cfe5/)

```csharp
public abstract void Reset(int capacityHint)
```

Resets the receiver before applying replacement entries.

### Parameters

- `capacityHint` (`int`)
