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

# IChangeSetItemFilter

> Represents a change set item filter to have logic before and after change set item processed.

## Definition

**Assembly:** Microsoft.Restier.Core.dll

**Namespace:** Microsoft.Restier.Core.Submit

## Syntax

```csharp theme={"dark"}
Microsoft.Restier.Core.Submit.IChangeSetItemFilter
```

## Summary

Represents a change set item filter to have logic before and after change set item processed.

## Methods

### <Icon icon="function" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> OnChangeSetItemProcessedAsync <Badge color="orange">Abstract</Badge>

Asynchronously applies logic after a change set item is processed.

#### Syntax

```csharp theme={"dark"}
System.Threading.Tasks.Task OnChangeSetItemProcessedAsync(Microsoft.Restier.Core.Submit.SubmitContext context, Microsoft.Restier.Core.Submit.ChangeSetItem item, System.Threading.CancellationToken cancellationToken)
```

#### Parameters

| Name                | Type                                          | Description           |
| ------------------- | --------------------------------------------- | --------------------- |
| `context`           | `Microsoft.Restier.Core.Submit.SubmitContext` | The submit context.   |
| `item`              | `Microsoft.Restier.Core.Submit.ChangeSetItem` | A change set item.    |
| `cancellationToken` | `System.Threading.CancellationToken`          | A cancellation token. |

#### Returns

Type: `System.Threading.Tasks.Task`
A task that represents the asynchronous operation.

### <Icon icon="function" iconType="duotone" color="#419AC5" size={24} className="mr-2" /> OnChangeSetItemProcessingAsync <Badge color="orange">Abstract</Badge>

Asynchronously applies logic before a change set item is processed.

#### Syntax

```csharp theme={"dark"}
System.Threading.Tasks.Task OnChangeSetItemProcessingAsync(Microsoft.Restier.Core.Submit.SubmitContext context, Microsoft.Restier.Core.Submit.ChangeSetItem item, System.Threading.CancellationToken cancellationToken)
```

#### Parameters

| Name                | Type                                          | Description           |
| ------------------- | --------------------------------------------- | --------------------- |
| `context`           | `Microsoft.Restier.Core.Submit.SubmitContext` | The submit context.   |
| `item`              | `Microsoft.Restier.Core.Submit.ChangeSetItem` | A change set item.    |
| `cancellationToken` | `System.Threading.CancellationToken`          | A cancellation token. |

#### Returns

Type: `System.Threading.Tasks.Task`
A task that represents the asynchronous operation.
