语言

JsonSchemaExporterOptions 类

定义

控制类的行为 JsonSchemaExporter 。

public ref class JsonSchemaExporterOptions sealed
public sealed class JsonSchemaExporterOptions
type JsonSchemaExporterOptions = class
Public NotInheritable Class JsonSchemaExporterOptions
继承
JsonSchemaExporterOptions

构造函数

名称 说明
JsonSchemaExporterOptions()

控制类的行为 JsonSchemaExporter 。

属性

名称 说明
Default

获取由 JsonSchemaExporter. 使用的默认配置对象。

TransformSchemaNode

获取为类型图中生成的每个架构调用的回调。

TreatNullObliviousAsNonNullable

获取一个值,该值指示是否应为无效的引用类型生成不可为 null 的架构。

方法

名称 说明
Equals(Object)

确定指定的对象是否等于当前对象。

(继承自 Object)
GetHashCode()

用作默认哈希函数。

(继承自 Object)
GetType()

获取当前实例的 Type。

(继承自 Object)
MemberwiseClone()

创建当前 Object的浅表副本。

(继承自 Object)
ToString()

返回一个表示当前对象的字符串。

(继承自 Object)

适用于