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 JsonRpcTransportServiceCollectionExtensionsInheritance
Section titled “Inheritance”object ← JsonRpcTransportServiceCollectionExtensions
Inherited Members
Section titled “Inherited Members”object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()
Methods
Section titled “Methods”AddJsonRpcTransport(IServiceCollection)
Section titled “ AddJsonRpcTransport(IServiceCollection)”Adds the JSON-RPC transport mapper to the service collection.
public static IServiceCollection AddJsonRpcTransport(this IServiceCollection services)Parameters
Section titled “Parameters”services IServiceCollection
The target service collection.
Returns
Section titled “Returns”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)Parameters
Section titled “Parameters”builder WebApplicationBuilder
The ASP.NET Core application builder to extend.
Returns
Section titled “Returns”The same builder instance for fluent composition.