Table of Contents

Class SagaOptionsValidator

Namespace
Excalibur.Saga
Assembly
Excalibur.Saga.dll

Validates SagaOptions at startup via the ValidateOnStart pipeline.

public sealed class SagaOptionsValidator : IValidateOptions<SagaOptions>
Inheritance
SagaOptionsValidator
Implements
Inherited Members

Remarks

Performs cross-property constraint checks that cannot be expressed via System.ComponentModel.DataAnnotations attributes alone.

Methods

Validate(string?, SagaOptions)

Validates a specified named options instance (or all if name is null).

public ValidateOptionsResult Validate(string? name, SagaOptions options)

Parameters

name string

The name of the options instance being validated.

options SagaOptions

The options instance.

Returns

ValidateOptionsResult

The ValidateOptionsResult result.