TcHmiJSchemaGenerator Class

Generates a JsonSchemaValue from a specified Type.

Inheritance Hierarchy

SystemObject
  JSchemaGenerator
    TcHmiSrv.Core.Tools.DynamicSymbolsTcHmiJSchemaGenerator

Namespace: TcHmiSrv.Core.Tools.DynamicSymbols
Assembly: TcHmiSrvExtNet.Core (in TcHmiSrvExtNet.Core.dll) Version: 3.1.7447.0+85f9b473a1dd11b8f3e5c9a182fd1901975e46f9

Syntax

C#

public sealed class TcHmiJSchemaGenerator : JSchemaGenerator

The TcHmiJSchemaGenerator type exposes the following members.

Properties

 

Name

Description

TcHmiJSchemaGenerator Class 1:

TcHmiJSchemaGenerator Class 2:

DefaultEnumGenerationProvider

Gets the default JSchemaGenerationProvider that customizes JSchema generation for all Types where IsEnum is true.

TcHmiJSchemaGenerator Class 3:

TcHmiJSchemaGenerator Class 4:

DefaultGenerator

Gets a new default TcHmiJSchemaGenerator.

TcHmiJSchemaGenerator Class 5:

DefaultRequired

Contains a value that indicates the default required state of JSON schemas.
(Overrides JSchemaGenerator.DefaultRequired)

TcHmiJSchemaGenerator Class 6:

EscapeUris

Contains a value that indicates whether EscapeDataString(String) should be used to escape URIs in "$ref" values.

TcHmiJSchemaGenerator Class 7:

GenerationProviders

Gets an IListT of JSchemaGenerationProvider s that are used to customize JSchema generation.
(Overrides JSchemaGenerator.GenerationProviders)

TcHmiJSchemaGenerator Class 8:

PostContractResolver

Contains the IContractResolver that is used to resolve a JsonContract for a given Type after JsonSchemaContractResolver tried to resolve the JsonContract .

TcHmiJSchemaGenerator Class 9:

PreContractResolver

Contains the IContractResolver that is used to resolve a JsonContract for a given Type before ContractResolver tries to resolve the JsonContract .

TcHmiJSchemaGenerator Class 10:

SchemaIdGenerationHandling

Contains a value that indicates how IDs are generated for JSON schemas with no ID.
(Overrides JSchemaGenerator.SchemaIdGenerationHandling)

TcHmiJSchemaGenerator Class 11:

SchemaIdGenerator

Contains a FuncT, TResult that is used to generate the schema ID for a specified Type in "definitions" and "$ref" values.

TcHmiJSchemaGenerator Class 12:

SchemaLocationHandling

Contains a value that indicates the location of referenced JSON schemas.
(Overrides JSchemaGenerator.SchemaLocationHandling)

TcHmiJSchemaGenerator Class 13:

SchemaPropertyOrderHandling

Gets or sets the schema property order.
(Inherited from JSchemaGenerator)

TcHmiJSchemaGenerator Class 14:

SchemaReferenceHandling

Gets or sets whether generated schemas can be referenced.
(Inherited from JSchemaGenerator)

Methods

 

Name

Description

TcHmiJSchemaGenerator Class 15:

TcHmiJSchemaGenerator Class 16:

CreateEnumGenerationProvider

Creates a new JSchemaGenerationProvider for the specified Type where IsEnum is true.

TcHmiJSchemaGenerator Class 17:

TcHmiJSchemaGenerator Class 18:

CreateGenerator(SchemaPropertyOrderHandling, SchemaReferenceHandling, Boolean, IEnumerableJSchemaGenerationProvider, IContractResolver, IContractResolver)

Creates a TcHmiJSchemaGenerator with the specified parameters.

TcHmiJSchemaGenerator Class 19:

TcHmiJSchemaGenerator Class 20:

CreateGenerator(SchemaPropertyOrderHandling, SchemaReferenceHandling, Boolean, IEnumerableJSchemaGenerationProvider, IContractResolver, IContractResolver, Boolean, FuncType, String)

Creates a TcHmiJSchemaGenerator with the specified parameters.

TcHmiJSchemaGenerator Class 21:

Equals

Determines whether the specified object is equal to the current object.
(Inherited from Object)

TcHmiJSchemaGenerator Class 22:

Generate(Type)

Generates a JsonSchemaValue from the specified Type.

TcHmiJSchemaGenerator Class 23:

Generate(Type, Boolean)

Generate a JSchema from the specified type.
(Inherited from JSchemaGenerator)

TcHmiJSchemaGenerator Class 24:

Generate(Type, Required, JsonProperty)

Generate a JSchema from the specified type.
(Inherited from JSchemaGenerator)

TcHmiJSchemaGenerator Class 25:

TcHmiJSchemaGenerator Class 26:

GetGenerationProvider(Type)

Gets a JSchemaGenerationProvider from the JSchemaGenerator.GenerationProviders of the DefaultGenerator that can generate a JSchema for the specified Type.

TcHmiJSchemaGenerator Class 27:

TcHmiJSchemaGenerator Class 28:

GetGenerationProvider(Type, JSchemaGenerator)

Gets a JSchemaGenerationProvider from the JSchemaGenerator.GenerationProviders of the specified JSchemaGenerator that can generate a JSchema for the specified Type.

TcHmiJSchemaGenerator Class 29:

TcHmiJSchemaGenerator Class 30:

GetGenerationProvider(Type, IEnumerableJSchemaGenerationProvider)

Gets a JSchemaGenerationProvider from the specified IEnumerableT of JSchemaGenerationProvider s that can generate a JSchema for the specified Type.

TcHmiJSchemaGenerator Class 31:

GetHashCode

Serves as the default hash function.
(Inherited from Object)

TcHmiJSchemaGenerator Class 32:

GetType

Gets the Type of the current instance.
(Inherited from Object)

TcHmiJSchemaGenerator Class 33:

ToString

Returns a string that represents the current object.
(Inherited from Object)

Version Information

Supported in: 3.1.7447.0, 2.3.7447.0, 1.10.7447.0

Reference

TcHmiSrv.Core.Tools.DynamicSymbols Namespace

Copyright © Beckhoff Automation GmbH & Co. KG