Skip to content

Interface IProjectionCatalog

Namespace: Cephalon.Abstractions.Data
Assembly: Cephalon.Abstractions.dll

Exposes the projections visible to the current runtime.

public interface IProjectionCatalog

Gets all projections visible to the current runtime.

IReadOnlyList<ProjectionDescriptor> Projections { get; }

IReadOnlyList<ProjectionDescriptor>

Gets one projection by its stable identifier.

ProjectionDescriptor? GetById(string projectionId)

projectionId string

The projection identifier to resolve.

ProjectionDescriptor?

The matching projection, or null when it is not active.

Gets all projections contributed by the requested module.

IReadOnlyList<ProjectionDescriptor> GetBySourceModule(string sourceModuleId)

sourceModuleId string

The source module identifier to filter by.

IReadOnlyList<ProjectionDescriptor>

The matching projections, or an empty list when the module contributed none.

Gets all projections that target the requested store identifier.

IReadOnlyList<ProjectionDescriptor> GetByTargetStore(string targetStoreId)

targetStoreId string

The target store identifier to filter by.

IReadOnlyList<ProjectionDescriptor>

The matching projections, or an empty list when no projection targets the store.