語言

JsonSchemaExporterOptions.TransformSchemaNode 屬性

定義

會收到一個回調,對在型別圖中產生的每個結構都會被調用。

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)

屬性值

適用於