TcHmiJSchemaGenerator Class
Generates a JsonSchemaValue from a specified Type.
Inheritance Hierarchy
System.Object
JSchemaGenerator
TcHmiSrv.Core.Tools.DynamicSymbols.TcHmiJSchemaGenerator
Namespace: TcHmiSrv.Core.Tools.DynamicSymbols
Assembly: TcHmiSrvExtNet.Core (in
TcHmiSrvExtNet.Core.dll) Version: 1.3.0.0
Syntax
C#
public sealed class TcHmiJSchemaGenerator : JSchemaGenerator
The TcHmiJSchemaGenerator type exposes the following members.
Properties
|
Name |
Description |
---|---|---|
|
Gets the default JSchemaGenerationProvider that customizes JSchema generation for all Types where IsEnum is true. | |
|
Gets a new default TcHmiJSchemaGenerator. | |
|
Contains a value that indicates the default required state of JSON schemas. (Overrides JSchemaGenerator.DefaultRequired.) | |
|
Gets an IList.T. of JSchemaGenerationProviders that are used to customize JSchema generation. (Overrides JSchemaGenerator.GenerationProviders.) | |
|
Contains the IContractResolver that is used to resolve a JsonContract for a given Type after JsonSchemaContractResolver tried to resolve the JsonContract. | |
|
Contains the IContractResolver that is used to resolve a JsonContract for a given Type before ContractResolver tries to resolve the JsonContract. | |
|
Contains a value that indicates how IDs are generated for JSON schemas with no ID. (Overrides JSchemaGenerator.SchemaIdGenerationHandling.) | |
|
Contains a value that indicates the location of referenced JSON schemas. (Overrides JSchemaGenerator.SchemaLocationHandling.) | |
|
SchemaPropertyOrderHandling |
(Inherited from JSchemaGenerator.) |
|
SchemaReferenceHandling |
(Inherited from JSchemaGenerator.) |
Methods
|
Name |
Description |
---|---|---|
|
Creates a new JSchemaGenerationProvider for the specified Type where IsEnum is true. | |
|
Creates a TcHmiJSchemaGenerator with the specified parameters. | |
|
Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
|
Generates a JsonSchemaValue from the specified Type. | |
|
Generate(Type, Boolean) |
(Inherited from JSchemaGenerator.) |
|
Gets a JSchemaGenerationProvider from the JSchemaGenerator.GenerationProviders of the DefaultGenerator that can generate a JSchema for the specified Type. | |
|
Gets a JSchemaGenerationProvider from the JSchemaGenerator.GenerationProviders of the specified JSchemaGenerator that can generate a JSchema for the specified Type. | |
|
GetGenerationProvider(Type, IEnumerable.JSchemaGenerationProvider.) |
Gets a JSchemaGenerationProvider from the specified IEnumerable.T. of JSchemaGenerationProviders that can generate a JSchema for the specified Type. |
|
Serves as the default hash function. (Inherited from Object.) | |
|
Gets the Type of the current instance. (Inherited from Object.) | |
|
Returns a string that represents the current object. (Inherited from Object.) |