Επεξεργασία

Κοινή χρήση μέσω


JsonSourceGenerationOptionsAttribute.UseStringEnumConverter Property

Definition

Gets or sets a value that indicates whether the source generator defaults to JsonStringEnumConverter instead of numeric serialization for all enum types encountered in its type graph.

public:
 property bool UseStringEnumConverter { bool get(); void set(bool value); };
public bool UseStringEnumConverter { get; set; }
member this.UseStringEnumConverter : bool with get, set
Public Property UseStringEnumConverter As Boolean

Property Value

Applies to