 | JsonRpcContractResolverCreateParameter Method |
[This is preliminary documentation and is subject to change.]
Namespace:
JsonRpc.Contracts
Assembly:
JsonRpc.Commons (in JsonRpc.Commons.dll) Version: 0.5.4+1bad715934a0ae5922832940ca44bbbdaa509cfe
Syntaxprotected virtual JsonRpcParameter CreateParameter(
Type serviceType,
ParameterInfo parameter,
JsonRpcMethodAttribute methodAttribute,
JsonRpcScopeAttribute scopeAttribute
)
Protected Overridable Function CreateParameter (
serviceType As Type,
parameter As ParameterInfo,
methodAttribute As JsonRpcMethodAttribute,
scopeAttribute As JsonRpcScopeAttribute
) As JsonRpcParameter
Dim serviceType As Type
Dim parameter As ParameterInfo
Dim methodAttribute As JsonRpcMethodAttribute
Dim scopeAttribute As JsonRpcScopeAttribute
Dim returnValue As JsonRpcParameter
returnValue = Me.CreateParameter(serviceType,
parameter, methodAttribute, scopeAttribute)
protected:
virtual JsonRpcParameter^ CreateParameter(
Type^ serviceType,
ParameterInfo^ parameter,
JsonRpcMethodAttribute^ methodAttribute,
JsonRpcScopeAttribute^ scopeAttribute
)
abstract CreateParameter :
serviceType : Type *
parameter : ParameterInfo *
methodAttribute : JsonRpcMethodAttribute *
scopeAttribute : JsonRpcScopeAttribute -> JsonRpcParameter
override CreateParameter :
serviceType : Type *
parameter : ParameterInfo *
methodAttribute : JsonRpcMethodAttribute *
scopeAttribute : JsonRpcScopeAttribute -> JsonRpcParameter
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