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 |
---|---|---|
|
Initializes a new instance of the JsonSchemaContractResolver class where PreContractResolver is null and PostContractResolver is DefaultContractResolver. | |
|
JsonSchemaContractResolver(IContractResolver, IContractResolver) |
Initializes a new instance of the JsonSchemaContractResolver class with the specified IContractResolvers. |
Properties
|
Name |
Description |
---|---|---|
|
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 JsonSchemaContractResolver tries to resolve the JsonContract. |
Methods
|
Name |
Description |
---|---|---|
|
Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
|
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
|
Serves as the default hash function. (Inherited from Object.) | |
|
Gets the Type of the current instance. (Inherited from Object.) | |
|
Creates a shallow copy of the current Object. (Inherited from Object.) | |
|
Resolves the JsonContract for a given Type. | |
|
Returns a string that represents the current object. (Inherited from Object.) |