Skip to main content

Definition

Assembly: Microsoft.Restier.Core.dll Namespace: Microsoft.Restier.Core.Submit

Syntax

Microsoft.Restier.Core.Submit.IChangeSetItemFilter

Summary

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

Methods

OnChangeSetItemProcessedAsync Abstract

Asynchronously applies logic after a change set item is processed.

Syntax

System.Threading.Tasks.Task OnChangeSetItemProcessedAsync(Microsoft.Restier.Core.Submit.SubmitContext context, Microsoft.Restier.Core.Submit.ChangeSetItem item, System.Threading.CancellationToken cancellationToken)

Parameters

NameTypeDescription
contextMicrosoft.Restier.Core.Submit.SubmitContextThe submit context.
itemMicrosoft.Restier.Core.Submit.ChangeSetItemA change set item.
cancellationTokenSystem.Threading.CancellationTokenA cancellation token.

Returns

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

OnChangeSetItemProcessingAsync Abstract

Asynchronously applies logic before a change set item is processed.

Syntax

System.Threading.Tasks.Task OnChangeSetItemProcessingAsync(Microsoft.Restier.Core.Submit.SubmitContext context, Microsoft.Restier.Core.Submit.ChangeSetItem item, System.Threading.CancellationToken cancellationToken)

Parameters

NameTypeDescription
contextMicrosoft.Restier.Core.Submit.SubmitContextThe submit context.
itemMicrosoft.Restier.Core.Submit.ChangeSetItemA change set item.
cancellationTokenSystem.Threading.CancellationTokenA cancellation token.

Returns

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