Sdílet prostřednictvím


IOptionsFactory<TOptions> Rozhraní

Definice

Používá se k vytváření TOptions instancí.

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)

Parametry typu

TOptions

Typ požadovaných možností.

Odvozené

Metody

Create(String)

Vrátí nakonfigurovanou TOptions instanci s daným názvem.

Platí pro