JsonSourceGenerationOptionsAttribute Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
JsonSourceGenerationOptionsAttribute() |
Initializes a new instance of JsonSourceGenerationOptionsAttribute. |
JsonSourceGenerationOptionsAttribute(JsonSerializerDefaults) |
Constructs a new JsonSourceGenerationOptionsAttribute instance with a predefined set of options determined by the specified JsonSerializerDefaults. |
JsonSourceGenerationOptionsAttribute()
Initializes a new instance of JsonSourceGenerationOptionsAttribute.
public:
JsonSourceGenerationOptionsAttribute();
public JsonSourceGenerationOptionsAttribute ();
Public Sub New ()
Applies to
JsonSourceGenerationOptionsAttribute(JsonSerializerDefaults)
Constructs a new JsonSourceGenerationOptionsAttribute instance with a predefined set of options determined by the specified JsonSerializerDefaults.
public:
JsonSourceGenerationOptionsAttribute(System::Text::Json::JsonSerializerDefaults defaults);
public JsonSourceGenerationOptionsAttribute (System.Text.Json.JsonSerializerDefaults defaults);
new System.Text.Json.Serialization.JsonSourceGenerationOptionsAttribute : System.Text.Json.JsonSerializerDefaults -> System.Text.Json.Serialization.JsonSourceGenerationOptionsAttribute
Public Sub New (defaults As JsonSerializerDefaults)
Parameters
- defaults
- JsonSerializerDefaults
The JsonSerializerDefaults to reason about.
Exceptions
defaults
is invalid.
Applies to
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για