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

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, IModule

IRestModule, IModule

New module code should generally implement directly.

Maps the module’s REST endpoints onto the supplied endpoint route builder.

void MapEndpoints(IEndpointRouteBuilder endpoints)

endpoints IEndpointRouteBuilder

The endpoint route builder that receives the module routes.