Click or drag to resize

JsonRpcParameter Class

[This is preliminary documentation and is subject to change.]

Provides information to map an argument in JSON RPC method to a CLR method argument.
Inheritance Hierarchy
SystemObject
  JsonRpc.ContractsJsonRpcParameter

Namespace:  JsonRpc.Contracts
Assembly:  JsonRpc.Commons (in JsonRpc.Commons.dll) Version: 0.5.4+1bad715934a0ae5922832940ca44bbbdaa509cfe
Syntax
public sealed class JsonRpcParameter

The JsonRpcParameter type exposes the following members.

Constructors
  NameDescription
Public methodJsonRpcParameter
Initializes a new instance of the JsonRpcParameter class
Top
Properties
  NameDescription
Public propertyConverter
The serializer used to convert the parameter.
Public propertyDefaultValue
The default value for the specified optional parameter.
Public propertyIsOptional
Whether the parameter is optional.
Public propertyIsTask
Whether the parameter is a Task or Task<ParameterType> instead of ParameterType itself.
Public propertyParameterName
The parameter name used in JSON.
Public propertyParameterType
The bare type of the parameter.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Overrides ObjectToString.)
Top
Remarks
The "parameter" means either an input parameter of the method, or the function return value.
See Also