Compartir a través de


NullConfigureContextualOptions.GetInstance<TOptions> Método

Definición

Obtiene una instancia singleton de un contexto de configuración vacío.

public:
generic <typename TOptions>
 where TOptions : class static Microsoft::Extensions::Options::Contextual::Provider::IConfigureContextualOptions<TOptions> ^ GetInstance();
public static Microsoft.Extensions.Options.Contextual.Provider.IConfigureContextualOptions<TOptions> GetInstance<TOptions> () where TOptions : class;
static member GetInstance : unit -> Microsoft.Extensions.Options.Contextual.Provider.IConfigureContextualOptions<'Options (requires 'Options : null)> (requires 'Options : null)
Public Shared Function GetInstance(Of TOptions As Class) () As IConfigureContextualOptions(Of TOptions)

Parámetros de tipo

TOptions

Tipo de opciones que se va a configurar.

Devoluciones

Instancia de do-nothing de IConfigureContextualOptions<TOptions>.

Se aplica a