 | JsonRpcBuilderExtensionsRegisterTService Method (IJsonRpcBuilder) |
[This is preliminary documentation and is subject to change.]
Namespace:
JsonRpc.AspNetCore
Assembly:
JsonRpc.AspNetCore (in JsonRpc.AspNetCore.dll) Version: 0.5.4+1bad715934a0ae5922832940ca44bbbdaa509cfe
Syntaxpublic static IJsonRpcBuilder Register<TService>(
this IJsonRpcBuilder builder
)
where TService : JsonRpcService
<ExtensionAttribute>
Public Shared Function Register(Of TService As JsonRpcService) (
builder As IJsonRpcBuilder
) As IJsonRpcBuilder
Dim builder As IJsonRpcBuilder
Dim returnValue As IJsonRpcBuilder
returnValue = builder.Register()
public:
[ExtensionAttribute]
generic<typename TService>
where TService : JsonRpcService
static IJsonRpcBuilder^ Register(
IJsonRpcBuilder^ builder
)
[<ExtensionAttribute>]
static member Register :
builder : IJsonRpcBuilder -> IJsonRpcBuilder when '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:
IJsonRpcBuilderUsage 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