Interface ITransportRouteMapper
เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน
Namespace: Cephalon.AspNetCore.Hosting
Assembly: Cephalon.AspNetCore.dll
Maps the routes associated with one selected transport onto an ASP.NET Core host.
public interface ITransportRouteMapperProperties
Section titled “Properties”TransportId
Section titled “ TransportId”Gets the transport identifier that this mapper handles.
string TransportId { get; }Property Value
Section titled “Property Value”Methods
Section titled “Methods”MapRoutes(WebApplication, IRuntime)
Section titled “ MapRoutes(WebApplication, IRuntime)”Maps the transport’s routes onto the supplied application.
void MapRoutes(WebApplication app, IRuntime runtime)Parameters
Section titled “Parameters”app WebApplication
The ASP.NET Core application to extend.
runtime IRuntime
The runtime whose manifest and services back the mapped routes.