Compartilhar via


IOptionsFactory<TOptions> Interface

Definição

Usado para criar instâncias de TOptions.

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

Parâmetros de tipo

TOptions

O tipo de opções que está sendo solicitada.

Derivado

Métodos

Create(String)

Retorna a instância TOptions configurada com o nome fornecido.

Aplica-se a