Share via


IOptionsFactory<TOptions> Interfaz

Definición

Se usa para crear instancias 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

Tipo de opciones que se solicitan.

Derivado

Métodos

Create(String)

Devuelve una instancia de TOptions configurada con el nombre especificado.

Se aplica a