語言

JsonSchemaExporterContext 結構

定義

定義在型別圖中產生 JSON 架構的上下文。

public value class JsonSchemaExporterContext
public readonly struct JsonSchemaExporterContext
type JsonSchemaExporterContext = struct
Public Structure JsonSchemaExporterContext
繼承
JsonSchemaExporterContext

屬性

名稱 Description
BaseTypeInfo

如果是作為衍生型別產生,則會取得多型基底型的型別資訊。

Path

取得目前產生的結構文件路徑。

PropertyInfo

如果結構是為某個屬性產生,就會取得 JsonPropertyInfo 。

TypeInfo

會根據正在處理的類型取得。JsonTypeInfo

適用於