Click or drag to resize

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
Syntax
protected virtual IEnumerable<KeyValuePair<MethodInfo, JsonRpcMethod>> MethodsFromType(
	Type serviceType
)

Parameters

serviceType
Type: SystemType
A subtype of JsonRpcService.

Return Value

Type: IEnumerableKeyValuePairMethodInfo, JsonRpcMethod
Exceptions
ExceptionCondition
ArgumentNullExceptionserviceType is null.
ArgumentExceptionserviceType is not a derived type from JsonRpcService.
See Also