Table of Contents

Class HeadlessChannelUrlValidation

Namespace
CMS.Headless
Assembly
CMS.Headless.dll

Represents the options validator used to validate headless channel URL overrides.

public sealed class HeadlessChannelUrlValidation
Inheritance
object
HeadlessChannelUrlValidation
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 string

The name of the options instance being validated.

options HeadlessChannelUrlOptions

The options instance.

Returns

ValidateOptionsResult

The Microsoft.Extensions.Options.ValidateOptionsResult result.