IOptionsFactory<TOptions> Interface

Definition

Used to create TOptions instances.

generic <typename TOptions>
 where TOptions : class, gcnew()public interface class IOptionsFactory
public interface IOptionsFactory<TOptions> where TOptions : class, new()
type IOptionsFactory<'Options (requires 'Options : null and 'Options : (new : unit -> 'Options))> = 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