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

Interface IRestEndpointRuntimeCatalog

เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน

Namespace: Cephalon.Abstractions.Transports
Assembly: Cephalon.Abstractions.dll

Exposes the resolved public REST endpoints visible to the current runtime.

public interface IRestEndpointRuntimeCatalog

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.

Gets all resolved public REST endpoints visible to the current runtime.

IReadOnlyList<RestEndpointRuntimeDescriptor> Endpoints { get; }

IReadOnlyList<RestEndpointRuntimeDescriptor>

Gets all resolved public REST endpoints that dispatch through the requested behavior identifier.

IReadOnlyList<RestEndpointRuntimeDescriptor> GetByBehaviorId(string behaviorId)

behaviorId string

The stable behavior identifier to filter by.

IReadOnlyList<RestEndpointRuntimeDescriptor>

The matching endpoint descriptors, or an empty list when the behavior is not exposed publicly.

Gets one resolved public REST endpoint by its stable identifier.

RestEndpointRuntimeDescriptor? GetById(string endpointId)

endpointId string

The endpoint identifier to resolve.

RestEndpointRuntimeDescriptor?

The matching endpoint descriptor, or null when it is not active.

Gets all resolved public REST endpoints owned by the requested source module.

IReadOnlyList<RestEndpointRuntimeDescriptor> GetBySourceModule(string sourceModuleId)

sourceModuleId string

The stable source-module identifier to filter by.

IReadOnlyList<RestEndpointRuntimeDescriptor>

The matching endpoint descriptors, or an empty list when the module is not active.