Interface IRestEndpointCandidateRuntimeCatalog
Namespace: Cephalon.Abstractions.Transports
Assembly: Cephalon.Abstractions.dll
Exposes the module-owned REST endpoint candidates visible to the current runtime.
public interface IRestEndpointCandidateRuntimeCatalogRemarks
Section titled “Remarks”This surface complements
Properties
Section titled “Properties”Candidates
Section titled “ Candidates”Gets all REST endpoint candidates visible to the current runtime.
IReadOnlyList<RestEndpointCandidateRuntimeDescriptor> Candidates { get; }Property Value
Section titled “Property Value”IReadOnlyList<RestEndpointCandidateRuntimeDescriptor>
Methods
Section titled “Methods”GetByBehaviorId(string)
Section titled “ GetByBehaviorId(string)”Gets all REST endpoint candidates that target the requested behavior identifier.
IReadOnlyList<RestEndpointCandidateRuntimeDescriptor> GetByBehaviorId(string behaviorId)Parameters
Section titled “Parameters”behaviorId string
The stable behavior identifier to filter by.
Returns
Section titled “Returns”IReadOnlyList<RestEndpointCandidateRuntimeDescriptor>
The matching candidate descriptors, or an empty list when no candidates exist.
GetById(string)
Section titled “ GetById(string)”Gets one REST endpoint candidate by its stable identifier.
RestEndpointCandidateRuntimeDescriptor? GetById(string candidateId)Parameters
Section titled “Parameters”candidateId string
The candidate identifier to resolve.
Returns
Section titled “Returns”RestEndpointCandidateRuntimeDescriptor?
The matching candidate descriptor, or null when it is not present.
GetBySourceModule(string)
Section titled “ GetBySourceModule(string)”Gets all REST endpoint candidates owned by the requested source module.
IReadOnlyList<RestEndpointCandidateRuntimeDescriptor> GetBySourceModule(string sourceModuleId)Parameters
Section titled “Parameters”sourceModuleId string
The stable source-module identifier to filter by.
Returns
Section titled “Returns”IReadOnlyList<RestEndpointCandidateRuntimeDescriptor>
The matching candidate descriptors, or an empty list when no candidates exist.