ILoggingOptions.ShouldWarnForStringEnumValueInJson(Type) 方法

定义

true如果尚未针对给定枚举类型执行有关字符串值的警告,则返回 。

public bool ShouldWarnForStringEnumValueInJson (Type enumType);
abstract member ShouldWarnForStringEnumValueInJson : Type -> bool
Public Function ShouldWarnForStringEnumValueInJson (enumType As Type) As Boolean

参数

enumType
Type

要检查的类型。

返回

是否已发出警告。

适用于