 | JsonRpcContractResolverMethodsFromType Method |
[This is preliminary documentation and is subject to change.]
Gets a list of all the exposed JSON PRC methods in the specified service object type.
Namespace:
JsonRpc.Contracts
Assembly:
JsonRpc.Commons (in JsonRpc.Commons.dll) Version: 0.5.4+1bad715934a0ae5922832940ca44bbbdaa509cfe
Syntaxprotected virtual IEnumerable<KeyValuePair<MethodInfo, JsonRpcMethod>> MethodsFromType(
Type serviceType
)
Protected Overridable Function MethodsFromType (
serviceType As Type
) As IEnumerable(Of KeyValuePair(Of MethodInfo, JsonRpcMethod))
Dim serviceType As Type
Dim returnValue As IEnumerable(Of KeyValuePair(Of MethodInfo, JsonRpcMethod))
returnValue = Me.MethodsFromType(serviceType)
protected:
virtual IEnumerable<KeyValuePair<MethodInfo^, JsonRpcMethod^>>^ MethodsFromType(
Type^ serviceType
)
abstract MethodsFromType :
serviceType : Type -> IEnumerable<KeyValuePair<MethodInfo, JsonRpcMethod>>
override MethodsFromType :
serviceType : Type -> IEnumerable<KeyValuePair<MethodInfo, JsonRpcMethod>>
Parameters
- serviceType
- Type: SystemType
A subtype of JsonRpcService.
Return Value
Type:
IEnumerableKeyValuePairMethodInfo,
JsonRpcMethod
Exceptions
See Also