Interface IRestEndpointOverrideRuntimeCatalog
Namespace: Cephalon.Abstractions.Transports
Assembly: Cephalon.Abstractions.dll
Exposes the REST endpoint override rules visible to the current runtime.
public interface IRestEndpointOverrideRuntimeCatalogRemarks
Section titled “Remarks”This surface complements
Properties
Section titled “Properties”OverrideRules
Section titled “ OverrideRules”Gets all REST endpoint override rules visible to the current runtime.
IReadOnlyList<RestEndpointOverrideDescriptor> OverrideRules { get; }Property Value
Section titled “Property Value”IReadOnlyList<RestEndpointOverrideDescriptor>
Methods
Section titled “Methods”GetByBehaviorId(string)
Section titled “ GetByBehaviorId(string)”Gets all REST endpoint override rules that target the requested behavior identifier, either directly or through configured behavior-id prefixes.
IReadOnlyList<RestEndpointOverrideDescriptor> GetByBehaviorId(string behaviorId)Parameters
Section titled “Parameters”behaviorId string
The stable behavior identifier to filter by.
Returns
Section titled “Returns”IReadOnlyList<RestEndpointOverrideDescriptor>
The matching override descriptors, or an empty list when no rules exist.
GetById(string)
Section titled “ GetById(string)”Gets one REST endpoint override rule by its stable identifier.
RestEndpointOverrideDescriptor? GetById(string overrideId)Parameters
Section titled “Parameters”overrideId string
The override identifier to resolve.
Returns
Section titled “Returns”RestEndpointOverrideDescriptor?
The matching override descriptor, or null when it is not present.
GetBySourceModule(string)
Section titled “ GetBySourceModule(string)”Gets all REST endpoint override rules that target the requested source module identifier.
IReadOnlyList<RestEndpointOverrideDescriptor> GetBySourceModule(string sourceModuleId)Parameters
Section titled “Parameters”sourceModuleId string
The stable source-module identifier to filter by.
Returns
Section titled “Returns”IReadOnlyList<RestEndpointOverrideDescriptor>
The matching override descriptors, or an empty list when no rules exist.