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