Table of Contents

Class SelfServiceRulesSettingsValidator

Namespace
SEBT.Portal.Infrastructure.Configuration.Validators
Assembly
SEBT.Portal.Infrastructure.dll

Validates SelfServiceRulesSettings at startup. Ensures that enabled actions have at least one issuance type rule defined.

public class SelfServiceRulesSettingsValidator
Inheritance
object
SelfServiceRulesSettingsValidator

Methods

Validate(string?, SelfServiceRulesSettings)

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

public ValidateOptionsResult Validate(string? name, SelfServiceRulesSettings options)

Parameters

name string

The name of the options instance being validated.

options SelfServiceRulesSettings

The options instance.

Returns

ValidateOptionsResult

The Microsoft.Extensions.Options.ValidateOptionsResult result.