ข้ามไปยังเนื้อหา

Class JsonRpcTransportServiceCollectionExtensions

เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน

Namespace: Cephalon.AspNetCore.JsonRpc.Hosting
Assembly: Cephalon.AspNetCore.JsonRpc.dll

Registers the JSON-RPC ASP.NET Core transport adapter for Cephalon.

public static class JsonRpcTransportServiceCollectionExtensions

objectJsonRpcTransportServiceCollectionExtensions

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()

Adds the JSON-RPC transport mapper to the service collection.

public static IServiceCollection AddJsonRpcTransport(this IServiceCollection services)

services IServiceCollection

The target service collection.

IServiceCollection

The same service collection for further registration.

AddJsonRpcTransport(WebApplicationBuilder)

Section titled “ AddJsonRpcTransport(WebApplicationBuilder)”

Adds the JSON-RPC transport mapper to a .

public static WebApplicationBuilder AddJsonRpcTransport(this WebApplicationBuilder builder)

builder WebApplicationBuilder

The ASP.NET Core application builder to extend.

WebApplicationBuilder

The same builder instance for fluent composition.