Class HeadlessChannelUrlValidation
Represents the options validator used to validate headless channel URL overrides.
public sealed class HeadlessChannelUrlValidation
- Inheritance
-
objectHeadlessChannelUrlValidation
- Extension Methods
Methods
Validate(string, HeadlessChannelUrlOptions)
Validates a specific named options instance (or all when name is null).
public ValidateOptionsResult Validate(string name, HeadlessChannelUrlOptions options)
Parameters
name
stringThe name of the options instance being validated.
options
HeadlessChannelUrlOptionsThe options instance.
Returns
- ValidateOptionsResult
The Microsoft.Extensions.Options.ValidateOptionsResult result.