Click or drag to resize

JsonRpcBuilderExtensionsRegisterTService Method (IJsonRpcBuilder)

[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
public static IJsonRpcBuilder Register<TService>(
	this IJsonRpcBuilder builder
)
where TService : JsonRpcService

Parameters

builder
Type: JsonRpc.AspNetCoreIJsonRpcBuilder

[Missing <param name="builder"/> documentation for "M:JsonRpc.AspNetCore.JsonRpcBuilderExtensions.Register``1(JsonRpc.AspNetCore.IJsonRpcBuilder)"]

Type Parameters

TService
The type of the service.

Return Value

Type: IJsonRpcBuilder

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IJsonRpcBuilder. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also