Click or drag to resize

JsonRpcContractResolverCreateParameter Method

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

Creates the JsonRpcParameter contract with the specified CLR parameter info.

Namespace:  JsonRpc.Contracts
Assembly:  JsonRpc.Commons (in JsonRpc.Commons.dll) Version: 0.5.4+1bad715934a0ae5922832940ca44bbbdaa509cfe
Syntax
protected virtual JsonRpcParameter CreateParameter(
	Type serviceType,
	ParameterInfo parameter,
	JsonRpcMethodAttribute methodAttribute,
	JsonRpcScopeAttribute scopeAttribute
)

Parameters

serviceType
Type: SystemType
Type of the JSON RPC service object.
parameter
Type: System.ReflectionParameterInfo
CLR parameter object.
methodAttribute
Type: JsonRpc.ContractsJsonRpcMethodAttribute
Custom attribute applied to the CLR method, or null if none applied.
scopeAttribute
Type: JsonRpc.ContractsJsonRpcScopeAttribute
Custom attribute applied to the JSON RPC scope, or null if none applied.

Return Value

Type: JsonRpcParameter
See Also