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

Interface IBackendForFrontendRestRuntimeCatalog

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

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

Exposes the client-aware published REST endpoint projections derived from the active backend-for-frontend bindings.

public interface IBackendForFrontendRestRuntimeCatalog

This surface keeps backend-for-frontend client bindings and published REST endpoint material separate from the broader binding catalog so hosts can answer which REST endpoints are visible to each client binding without inventing a host-only registry outside the shared runtime truth.

Gets all client-aware published REST endpoint projections visible to the current runtime.

IReadOnlyList<BackendForFrontendRestEndpointRuntimeDescriptor> Endpoints { get; }

IReadOnlyList<BackendForFrontendRestEndpointRuntimeDescriptor>

Gets all client-aware published REST endpoint projections owned by the requested binding.

IReadOnlyList<BackendForFrontendRestEndpointRuntimeDescriptor> GetByBindingId(string bindingId)

bindingId string

The backend-for-frontend binding identifier to filter by.

IReadOnlyList<BackendForFrontendRestEndpointRuntimeDescriptor>

The matching runtime descriptors, or an empty list when the binding is not active.

Gets all client-aware published REST endpoint projections owned by the requested client.

IReadOnlyList<BackendForFrontendRestEndpointRuntimeDescriptor> GetByClientId(string clientId)

clientId string

The client identifier to filter by.

IReadOnlyList<BackendForFrontendRestEndpointRuntimeDescriptor>

The matching runtime descriptors, or an empty list when the client is not active.

Gets one client-aware published REST endpoint projection by its stable identifier.

BackendForFrontendRestEndpointRuntimeDescriptor? GetById(string runtimeEndpointId)

runtimeEndpointId string

The binding-plus-endpoint identifier to resolve.

BackendForFrontendRestEndpointRuntimeDescriptor?

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

Gets all client-aware runtime projections that expose the requested published REST endpoint.

IReadOnlyList<BackendForFrontendRestEndpointRuntimeDescriptor> GetByRestEndpointId(string restEndpointId)

restEndpointId string

The published REST endpoint identifier to filter by.

IReadOnlyList<BackendForFrontendRestEndpointRuntimeDescriptor>

The matching runtime descriptors, or an empty list when the endpoint is not visible.

Gets all client-aware published REST endpoint projections contributed by the requested binding-owner module.

IReadOnlyList<BackendForFrontendRestEndpointRuntimeDescriptor> GetBySourceModule(string sourceModuleId)

sourceModuleId string

The binding-owner module identifier to filter by.

IReadOnlyList<BackendForFrontendRestEndpointRuntimeDescriptor>

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