Share via


OptionsMonitor<TOptions>.CurrentValue 属性

定义

选项的现值。

public:
 property TOptions CurrentValue { TOptions get(); };
public TOptions CurrentValue { get; }
member this.CurrentValue : 'Options
member this.CurrentValue : 'Options
Public ReadOnly Property CurrentValue As TOptions

属性值

TOptions

实现

例外

验证已创建的实例时,一个或多个IValidateOptions<TOptions>返回失败ValidateOptionsResultTOptions

TOptions没有公共无参数构造函数或 TOptionsabstract

适用于