Interface IRestEndpointRuntimeCatalog
เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน
Namespace: Cephalon.Abstractions.Transports
Assembly: Cephalon.Abstractions.dll
Exposes the resolved public REST endpoints visible to the current runtime.
public interface IRestEndpointRuntimeCatalogRemarks
Section titled “Remarks”This surface is runtime-facing rather than app-model-facing because it reflects the effective REST endpoints published by the active host adapter after route prefixes, API version defaults, and endpoint materialization have been resolved.
Properties
Section titled “Properties”Endpoints
Section titled “ Endpoints”Gets all resolved public REST endpoints visible to the current runtime.
IReadOnlyList<RestEndpointRuntimeDescriptor> Endpoints { get; }Property Value
Section titled “Property Value”IReadOnlyList<RestEndpointRuntimeDescriptor>
Methods
Section titled “Methods”GetByBehaviorId(string)
Section titled “ GetByBehaviorId(string)”Gets all resolved public REST endpoints that dispatch through the requested behavior identifier.
IReadOnlyList<RestEndpointRuntimeDescriptor> GetByBehaviorId(string behaviorId)Parameters
Section titled “Parameters”behaviorId string
The stable behavior identifier to filter by.
Returns
Section titled “Returns”IReadOnlyList<RestEndpointRuntimeDescriptor>
The matching endpoint descriptors, or an empty list when the behavior is not exposed publicly.
GetById(string)
Section titled “ GetById(string)”Gets one resolved public REST endpoint by its stable identifier.
RestEndpointRuntimeDescriptor? GetById(string endpointId)Parameters
Section titled “Parameters”endpointId string
The endpoint identifier to resolve.
Returns
Section titled “Returns”RestEndpointRuntimeDescriptor?
The matching endpoint descriptor, or null when it is not active.
GetBySourceModule(string)
Section titled “ GetBySourceModule(string)”Gets all resolved public REST endpoints owned by the requested source module.
IReadOnlyList<RestEndpointRuntimeDescriptor> GetBySourceModule(string sourceModuleId)Parameters
Section titled “Parameters”sourceModuleId string
The stable source-module identifier to filter by.
Returns
Section titled “Returns”IReadOnlyList<RestEndpointRuntimeDescriptor>
The matching endpoint descriptors, or an empty list when the module is not active.