Microsoft.Extensions.Options.ValidateOptions<TOptions, TDep1, TDep2, TDep3, TDep4, TDep5>
public class ValidateOptions<TOptions, TDep1, TDep2, TDep3, TDep4, TDep5> : IValidateOptions<TOptions>
Implementation of IValidateOptions<T>
Gets the first dependency.
Gets the second dependency.
Gets the third dependency.
Gets the fourth dependency.
Gets the fifth dependency.
Gets the error to return when validation fails.
Gets the options name.
Gets the validation function.
public ValidateOptions(string name, TDep1 dependency1, TDep2 dependency2, TDep3 dependency3, TDep4 dependency4, TDep5 dependency5, Func<TOptions, TDep1, TDep2, TDep3, TDep4, TDep5, bool> validation, string failureMessage)
Initializes a new instance of ValidateOptions<T, U, V, W, X, Y>.
Validates a specific named options instance (or all when name is null).