IOptionsFactory<TOptions> 接口

定义

TOptions创建实例。

generic <typename TOptions>
 where TOptions : classpublic interface class IOptionsFactory
public interface IOptionsFactory<TOptions> where TOptions : class
type IOptionsFactory<'Options (requires 'Options : null)> = interface
Public Interface IOptionsFactory(Of TOptions)

类型参数

TOptions

要请求的选项的类型。

派生

方法

名称 说明
Create(String)

返回具有给定name的已配置TOptions实例。

适用于