Class FixerOptionsValidator
Represents a validator for FixerOptions
Constructors
FixerOptionsValidator()
Declaration
public FixerOptionsValidator()
Methods
Validate(String, FixerOptions)
Validates a specific named options instance (or all when name is null)
Declaration
public ValidateOptionsResult Validate(string name, FixerOptions options)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The name of the options instance being validated |
Si.Srp.Models.Common.Options.FixerOptions | options | The options instance |
Returns
Type | Description |
---|---|
Microsoft.Extensions.Options.ValidateOptionsResult | The Microsoft.Extensions.Options.ValidateOptionsResult result |
Implements
Microsoft.Extensions.Options.IValidateOptions<>