Click or drag to resize

IJsonRpcBuilderRegister Method

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

Adds a JSON-RPC service to the built IJsonRpcServiceHost.

Namespace:  JsonRpc.AspNetCore
Assembly:  JsonRpc.AspNetCore (in JsonRpc.AspNetCore.dll) Version: 0.5.4+1bad715934a0ae5922832940ca44bbbdaa509cfe
Syntax
IJsonRpcBuilder Register(
	Type serviceType
)

Parameters

serviceType
Type: SystemType
The Type of a class that inherits from JsonRpcService.

Return Value

Type: IJsonRpcBuilder
Exceptions
ExceptionCondition
ArgumentNullExceptionserviceType is null.
ArgumentExceptionserviceType does not inherit from JsonRpcService.
See Also