Interface IEndpointModule
เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน
Namespace: Cephalon.AspNetCore.Modules
Assembly: Cephalon.AspNetCore.dll
Legacy REST module contract kept for compatibility with earlier Cephalon hosts.
public interface IEndpointModule : IRestModule, IModuleImplements
Section titled “Implements”IRestModule, IModule
Remarks
Section titled “Remarks”New module code should generally implement
Methods
Section titled “Methods”MapEndpoints(IEndpointRouteBuilder)
Section titled “ MapEndpoints(IEndpointRouteBuilder)”Maps the module’s REST endpoints onto the supplied endpoint route builder.
void MapEndpoints(IEndpointRouteBuilder endpoints)Parameters
Section titled “Parameters”endpoints IEndpointRouteBuilder
The endpoint route builder that receives the module routes.