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 IBackendForFrontendRestRuntimeCatalogRemarks
Section titled “Remarks”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.
Properties
Section titled “Properties”Endpoints
Section titled “ Endpoints”Gets all client-aware published REST endpoint projections visible to the current runtime.
IReadOnlyList<BackendForFrontendRestEndpointRuntimeDescriptor> Endpoints { get; }Property Value
Section titled “Property Value”IReadOnlyList<BackendForFrontendRestEndpointRuntimeDescriptor>
Methods
Section titled “Methods”GetByBindingId(string)
Section titled “ GetByBindingId(string)”Gets all client-aware published REST endpoint projections owned by the requested binding.
IReadOnlyList<BackendForFrontendRestEndpointRuntimeDescriptor> GetByBindingId(string bindingId)Parameters
Section titled “Parameters”bindingId string
The backend-for-frontend binding identifier to filter by.
Returns
Section titled “Returns”IReadOnlyList<BackendForFrontendRestEndpointRuntimeDescriptor>
The matching runtime descriptors, or an empty list when the binding is not active.
GetByClientId(string)
Section titled “ GetByClientId(string)”Gets all client-aware published REST endpoint projections owned by the requested client.
IReadOnlyList<BackendForFrontendRestEndpointRuntimeDescriptor> GetByClientId(string clientId)Parameters
Section titled “Parameters”clientId string
The client identifier to filter by.
Returns
Section titled “Returns”IReadOnlyList<BackendForFrontendRestEndpointRuntimeDescriptor>
The matching runtime descriptors, or an empty list when the client is not active.
GetById(string)
Section titled “ GetById(string)”Gets one client-aware published REST endpoint projection by its stable identifier.
BackendForFrontendRestEndpointRuntimeDescriptor? GetById(string runtimeEndpointId)Parameters
Section titled “Parameters”runtimeEndpointId string
The binding-plus-endpoint identifier to resolve.
Returns
Section titled “Returns”BackendForFrontendRestEndpointRuntimeDescriptor?
The matching runtime descriptor, or null when it is not active.
GetByRestEndpointId(string)
Section titled “ GetByRestEndpointId(string)”Gets all client-aware runtime projections that expose the requested published REST endpoint.
IReadOnlyList<BackendForFrontendRestEndpointRuntimeDescriptor> GetByRestEndpointId(string restEndpointId)Parameters
Section titled “Parameters”restEndpointId string
The published REST endpoint identifier to filter by.
Returns
Section titled “Returns”IReadOnlyList<BackendForFrontendRestEndpointRuntimeDescriptor>
The matching runtime descriptors, or an empty list when the endpoint is not visible.
GetBySourceModule(string)
Section titled “ GetBySourceModule(string)”Gets all client-aware published REST endpoint projections contributed by the requested binding-owner module.
IReadOnlyList<BackendForFrontendRestEndpointRuntimeDescriptor> GetBySourceModule(string sourceModuleId)Parameters
Section titled “Parameters”sourceModuleId string
The binding-owner module identifier to filter by.
Returns
Section titled “Returns”IReadOnlyList<BackendForFrontendRestEndpointRuntimeDescriptor>
The matching runtime descriptors, or an empty list when the module is not active.