IOptionsFactory<TOptions> Interface

Definition

Used to create TOptions instances.

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)

Type Parameters

TOptions

The type of options being requested.

Derived

Methods

Create(String)

Returns a configured TOptions instance with the given name.

Applies to