JsonSchemaContractResolver Class

Represents an IContractResolver for JSON schemas.

Inheritance Hierarchy

System.Object
  TcHmiSrv.Core.Tools.DynamicSymbols.JsonSchemaContractResolver
Namespace:  TcHmiSrv.Core.Tools.DynamicSymbols
Assembly:  TcHmiSrvExtNet.Core (in TcHmiSrvExtNet.Core.dll) Version: 1.3.0.0

Syntax

C#

public class JsonSchemaContractResolver : IContractResolver

The JsonSchemaContractResolver type exposes the following members.

Constructors

 

Name

Description

JsonSchemaContractResolver Class 1:

JsonSchemaContractResolver.

Initializes a new instance of the JsonSchemaContractResolver class where PreContractResolver is null and PostContractResolver is DefaultContractResolver.

JsonSchemaContractResolver Class 2:

JsonSchemaContractResolver(IContractResolver, IContractResolver)

Initializes a new instance of the JsonSchemaContractResolver class with the specified IContractResolvers.

Properties

 

Name

Description

JsonSchemaContractResolver Class 3:

PostContractResolver

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

JsonSchemaContractResolver Class 4:

PreContractResolver

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

Methods

 

Name

Description

JsonSchemaContractResolver Class 5:

Equals

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

JsonSchemaContractResolver Class 6:

Finalize

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)

JsonSchemaContractResolver Class 7:

GetHashCode

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

JsonSchemaContractResolver Class 8:

GetType

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

JsonSchemaContractResolver Class 9:

MemberwiseClone

Creates a shallow copy of the current Object. (Inherited from Object.)

JsonSchemaContractResolver Class 10:

ResolveContract

Resolves the JsonContract for a given Type.

JsonSchemaContractResolver Class 11:

ToString

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

Reference

TcHmiSrv.Core.Tools.DynamicSymbols Namespace