Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

JsonSchemaExporterOptions.TransformSchemaNode Property

Definition

Namespace:
System.Text.Json.Schema
Assembly:
System.Text.Json.dll
Package:
System.Text.Json v11.0.0-preview.5.26302.115
Source:
JsonSchemaExporterOptions.cs
Source:
JsonSchemaExporterOptions.cs
Source:
JsonSchemaExporterOptions.cs
Source:
JsonSchemaExporterOptions.cs

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.

Gets a callback that is invoked for every schema that is generated within the type graph.

public:
 property Func<System::Text::Json::Schema::JsonSchemaExporterContext, System::Text::Json::Nodes::JsonNode ^, System::Text::Json::Nodes::JsonNode ^> ^ TransformSchemaNode { Func<System::Text::Json::Schema::JsonSchemaExporterContext, System::Text::Json::Nodes::JsonNode ^, System::Text::Json::Nodes::JsonNode ^> ^ get(); void set(Func<System::Text::Json::Schema::JsonSchemaExporterContext, System::Text::Json::Nodes::JsonNode ^, System::Text::Json::Nodes::JsonNode ^> ^ value); };
public Func<System.Text.Json.Schema.JsonSchemaExporterContext,System.Text.Json.Nodes.JsonNode,System.Text.Json.Nodes.JsonNode>? TransformSchemaNode { get; init; }
member this.TransformSchemaNode : Func<System.Text.Json.Schema.JsonSchemaExporterContext, System.Text.Json.Nodes.JsonNode, System.Text.Json.Nodes.JsonNode> with get, set
Public Property TransformSchemaNode As Func(Of JsonSchemaExporterContext, JsonNode, JsonNode)

Property Value

Applies to


Feedback

Was this page helpful?