Table of Contents

Interface IWorkflowValidator<T>

Namespace
WorkflowForge.Extensions.Validation
Assembly
WorkflowForge.Extensions.Validation.dll

Defines validation logic for workflow operations.

public interface IWorkflowValidator<in T>

Type Parameters

T

The type of data to validate.

Methods

ValidateAsync(T, CancellationToken)

Validates the specified data asynchronously.

Task<ValidationResult> ValidateAsync(T data, CancellationToken cancellationToken = default)

Parameters

data T

The data to validate.

cancellationToken CancellationToken

Optional cancellation token.

Returns

Task<ValidationResult>

A task representing the validation result.