Class IdentifierHasherSettingsValidator
- Namespace
- SEBT.Portal.Infrastructure.Configuration.Validators
- Assembly
- SEBT.Portal.Infrastructure.dll
public class IdentifierHasherSettingsValidator
- Inheritance
-
objectIdentifierHasherSettingsValidator
Constructors
IdentifierHasherSettingsValidator(IHostEnvironment)
public IdentifierHasherSettingsValidator(IHostEnvironment environment)
Parameters
environmentIHostEnvironment
Methods
Validate(string?, IdentifierHasherSettings)
Validates a specified named options instance (or all if name is null).
public ValidateOptionsResult Validate(string? name, IdentifierHasherSettings options)
Parameters
namestringThe name of the options instance being validated.
optionsIdentifierHasherSettingsThe options instance.
Returns
- ValidateOptionsResult
The Microsoft.Extensions.Options.ValidateOptionsResult result.