Click or drag to resize

JsonRpcBuilderExtensionsRegister Method (IJsonRpcBuilder, Assembly)

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

Adds all the public JSON-RPC service types in the assembly to the built IJsonRpcServiceHost.

Namespace:  JsonRpc.AspNetCore
Assembly:  JsonRpc.AspNetCore (in JsonRpc.AspNetCore.dll) Version: 0.5.4+1bad715934a0ae5922832940ca44bbbdaa509cfe
Syntax
public static IJsonRpcBuilder Register(
	this IJsonRpcBuilder builder,
	Assembly assembly
)

Parameters

builder
Type: JsonRpc.AspNetCoreIJsonRpcBuilder

[Missing <param name="builder"/> documentation for "M:JsonRpc.AspNetCore.JsonRpcBuilderExtensions.Register(JsonRpc.AspNetCore.IJsonRpcBuilder,System.Reflection.Assembly)"]

assembly
Type: System.ReflectionAssembly
The assembly to search services in.

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).
Exceptions
ExceptionCondition
ArgumentNullExceptionassembly is null.
See Also