PostConfigureOptions<TOptions,TDep1,TDep2,TDep3,TDep4,TDep5> 类
定义
IPostConfigureOptions<TOptions> 的实现。Implementation of IPostConfigureOptions<TOptions>.
generic <typename TOptions, typename TDep1, typename TDep2, typename TDep3, typename TDep4, typename TDep5>
where TOptions : class where TDep1 : class where TDep2 : class where TDep3 : class where TDep4 : class where TDep5 : classpublic ref class PostConfigureOptions : Microsoft::Extensions::Options::IPostConfigureOptions<TOptions>
public class PostConfigureOptions<TOptions,TDep1,TDep2,TDep3,TDep4,TDep5> : Microsoft.Extensions.Options.IPostConfigureOptions<TOptions> where TOptions : class where TDep1 : class where TDep2 : class where TDep3 : class where TDep4 : class where TDep5 : class
type PostConfigureOptions<'Options, 'TDep1, 'TDep2, 'TDep3, 'TDep4, 'TDep5 (requires 'Options : null and 'TDep1 : null and 'TDep2 : null and 'TDep3 : null and 'TDep4 : null and 'TDep5 : null)> = class
interface IPostConfigureOptions<'Options (requires 'Options : null)>
Public Class PostConfigureOptions(Of TOptions, TDep1, TDep2, TDep3, TDep4, TDep5)
Implements IPostConfigureOptions(Of TOptions)
类型参数
- TOptions
正在配置的选项类型。Options type being configured.
- TDep1
第一个依赖项类型。First dependency type.
- TDep2
第二个依赖关系类型。Second dependency type.
- TDep3
第三种依赖关系类型。Third dependency type.
- TDep4
第四种依赖关系类型。Fourth dependency type.
- TDep5
第五个依赖关系类型。Fifth dependency type.
- 继承
-
PostConfigureOptions<TOptions,TDep1,TDep2,TDep3,TDep4,TDep5>
- 实现
构造函数
| PostConfigureOptions<TOptions,TDep1,TDep2,TDep3,TDep4,TDep5>(String, TDep1, TDep2, TDep3, TDep4, TDep5, Action<TOptions,TDep1,TDep2,TDep3,TDep4,TDep5>) |
构造函数。Constructor. |
属性
| Action |
配置操作。The configuration action. |
| Dependency1 |
第一个依赖项。The first dependency. |
| Dependency2 |
第二个依赖项。The second dependency. |
| Dependency3 |
第三个依赖项。The third dependency. |
| Dependency4 |
第四个依赖项。The fourth dependency. |
| Dependency5 |
第五个依赖项。The fifth dependency. |
| Name |
选项名称。The options name. |
方法
| Equals(Object) |
确定指定对象是否等于当前对象。Determines whether the specified object is equal to the current object. (继承自 Object) |
| GetHashCode() |
作为默认哈希函数。Serves as the default hash function. (继承自 Object) |
| GetType() |
获取当前实例的 Type。Gets the Type of the current instance. (继承自 Object) |
| MemberwiseClone() |
创建当前 Object 的浅表副本。Creates a shallow copy of the current Object. (继承自 Object) |
| PostConfigure(String, TOptions) |
如果 |
| PostConfigure(TOptions) |
调用以使用 DefaultName 配置 |
| ToString() |
返回表示当前对象的字符串。Returns a string that represents the current object. (继承自 Object) |