Share via


IOptionsFactory<TOptions> Arabirim

Tanım

Örnekleri oluşturmak TOptions için kullanılır.

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)

Tür Parametreleri

TOptions

İstenen seçeneklerin türü.

Türetilmiş

Yöntemler

Create(String)

Verilen ada sahip yapılandırılmış TOptions bir örneği döndürür.

Şunlara uygulanır