IOptions<TOptions> Interfaccia

Definizione

Usato per recuperare le istanze di TOptions configurate.

generic <typename TOptions>
 where TOptions : class, gcnew()public interface class IOptions
generic <typename TOptions>
 where TOptions : classpublic interface class IOptions
public interface IOptions<out TOptions> where TOptions : class, new()
public interface IOptions<out TOptions> where TOptions : class
type IOptions<'Options (requires 'Options : null and 'Options : (new : unit -> 'Options))> = interface
type IOptions<'Options (requires 'Options : null)> = interface
Public Interface IOptions(Of Out TOptions)

Parametri di tipo

TOptions

Tipo di opzioni richieste.

Questo parametro di tipo è covariante, ovvero puoi usare il tipo specificato o qualsiasi tipo più derivato. Per altre informazioni sulla covarianza e la controvarianza, vedi Covarianza e controvarianza nei generics.
Derivato

Proprietà

Value

Ottiene l'istanza di TOptions configurata predefinita.

Si applica a