Skip to content

Interface IStranglerFigRuntimeCatalog

Namespace: Cephalon.Abstractions.Patterns
Assembly: Cephalon.Abstractions.dll

Exposes the strangler-fig routes visible to the current runtime.

public interface IStranglerFigRuntimeCatalog

Gets all strangler-fig routes visible to the current runtime.

IReadOnlyList<StranglerFigRouteDescriptor> Routes { get; }

IReadOnlyList<StranglerFigRouteDescriptor>

Gets one strangler-fig route by its stable identifier.

StranglerFigRouteDescriptor? GetById(string routeId)

routeId string

The route identifier to resolve.

StranglerFigRouteDescriptor?

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

Gets all strangler-fig routes owned by the requested module.

IReadOnlyList<StranglerFigRouteDescriptor> GetBySourceModule(string sourceModuleId)

sourceModuleId string

The module identifier to filter by.

IReadOnlyList<StranglerFigRouteDescriptor>

The matching route descriptors, or an empty list when none are active.