IConfigureContextualOptions<TOptions> 接口

定义

generic <typename TOptions>
 where TOptions : classpublic interface class IConfigureContextualOptions : IDisposable
public interface IConfigureContextualOptions<in TOptions> : IDisposable where TOptions : class
type IConfigureContextualOptions<'Options (requires 'Options : null)> = interface
    interface IDisposable
Public Interface IConfigureContextualOptions(Of In TOptions)
Implements IDisposable

类型参数

TOptions
这是逆变类型参数。 即,可以使用指定的类型,也可以使用派生程度较低的任何类型。 有关协变和逆变的详细信息,请参阅泛型中的协变和逆变
实现

方法

Configure(TOptions)
Dispose()

执行与释放或重置非托管资源关联的应用程序定义的任务。

(继承自 IDisposable)

适用于