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