JsonSourceGenerationOptionsAttribute.GenerationMode Property

Definition

Gets or sets the source generation mode for types that don't explicitly set the mode with GenerationMode.

public System.Text.Json.Serialization.JsonSourceGenerationMode GenerationMode { get; set; }

Property Value

Applies to

Prodotto Versioni
.NET 6, 7, 8 (package-provided), 8, 9 (package-provided), 9, 10 (package-provided), 10
.NET Standard 2.0 (package-provided)