Taal

IConfigureNamedOptions<TOptions> Interface

Definitie

Vertegenwoordigt iets dat het TOptions type configureert.

generic <typename TOptions>
 where TOptions : classpublic interface class IConfigureNamedOptions : Microsoft::Extensions::Options::IConfigureOptions<TOptions>
public interface IConfigureNamedOptions<in TOptions> : Microsoft.Extensions.Options.IConfigureOptions<in TOptions> where TOptions : class
type IConfigureNamedOptions<'Options (requires 'Options : null)> = interface
    interface IConfigureOptions<'Options (requires 'Options : null)>
Public Interface IConfigureNamedOptions(Of In TOptions)
Implements IConfigureOptions(Of In TOptions)

Type parameters

TOptions

Het optiestype dat wordt geconfigureerd.

Dit type parameter is contravariant. U kunt het type dat u hebt opgegeven gebruiken of een type dat minder is afgeleid. Zie Covariantie en Contravariantie in Algemene typen voor meer informatie over covariantie en contravariantie.
Afgeleid
Implementeringen

Methoden

Name Description
Configure(String, TOptions)

Hiermee configureert u een TOptions exemplaar.

Configure(TOptions)

Hiermee configureert u een TOptions exemplaar.

(Overgenomen van IConfigureOptions<TOptions>)

Van toepassing op