Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

IValidateOptions<TOptions> Interface

Definition

Namespace:
Microsoft.Extensions.Options
Assembly:
Microsoft.Extensions.Options.dll
Package:
Microsoft.Extensions.Options v11.0.0-preview.5.26302.115
Source:
IValidateOptions.cs
Source:
IValidateOptions.cs
Source:
IValidateOptions.cs
Source:
IValidateOptions.cs

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Validates options.

generic <typename TOptions>
 where TOptions : classpublic interface class IValidateOptions
public interface IValidateOptions<TOptions> where TOptions : class
type IValidateOptions<'Options (requires 'Options : null)> = interface
Public Interface IValidateOptions(Of TOptions)

Type Parameters

TOptions

The options type to validate.

Derived

Methods

Name Description
Validate(String, TOptions)

Validates a specified named options instance (or all if name is null).

Applies to


Feedback

Was this page helpful?