다음을 통해 공유


ILoggingOptions.ShouldWarnForStringEnumValueInJson(Type) Method

Definition

Returns true if a warning about string values for the given enum type has not yet been performed.

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

Parameters

enumType
Type

The type to check.

Returns

Whether a warning has been issued.

Applies to