IOptionsFactory<TOptions> Интерфейс

Определение

Используется для создания экземпляров 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)

Параметры типа

TOptions

Тип запрашиваемых параметров.

Производный

Методы

Create(String)

Возвращает настроенный экземпляр TOptions с указанным именем.

Применяется к