Skip to main content

Definition

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

Syntax

Microsoft.Restier.Core.Submit.IChangeSetItemValidator

Summary

Represents a change set entry validator.

Methods

ValidateChangeSetItemAsync Abstract

Asynchronously validates a change set item.

Syntax

System.Threading.Tasks.Task ValidateChangeSetItemAsync(Microsoft.Restier.Core.Submit.SubmitContext context, Microsoft.Restier.Core.Submit.ChangeSetItem item, System.Collections.ObjectModel.Collection<Microsoft.Restier.Core.Submit.ChangeSetItemValidationResult> validationResults, System.Threading.CancellationToken cancellationToken)

Parameters

NameTypeDescription
contextMicrosoft.Restier.Core.Submit.SubmitContextThe submit context.
itemMicrosoft.Restier.Core.Submit.ChangeSetItemThe change set item to validate.
validationResultsSystem.Collections.ObjectModel.Collection<Microsoft.Restier.Core.Submit.ChangeSetItemValidationResult>A set of validation results.
cancellationTokenSystem.Threading.CancellationTokenA cancellation token.

Returns

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