語言

ILoggingOptions.ShouldWarnForStringEnumValueInJson(Type) 方法

定義

若尚未對特定列舉型別的字串值發出警告,則會回傳 true 。

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

參數

enumType
Type

要檢查的類型。

傳回

是否已發出警告。

適用於