Interface IProjectionCatalog
เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน
Namespace: Cephalon.Abstractions.Data
Assembly: Cephalon.Abstractions.dll
Exposes the projections visible to the current runtime.
public interface IProjectionCatalogProperties
Section titled “Properties”Projections
Section titled “ Projections”Gets all projections visible to the current runtime.
IReadOnlyList<ProjectionDescriptor> Projections { get; }Property Value
Section titled “Property Value”IReadOnlyList<ProjectionDescriptor>
Methods
Section titled “Methods”GetById(string)
Section titled “ GetById(string)”Gets one projection by its stable identifier.
ProjectionDescriptor? GetById(string projectionId)Parameters
Section titled “Parameters”projectionId string
The projection identifier to resolve.
Returns
Section titled “Returns”The matching projection, or null when it is not active.
GetBySourceModule(string)
Section titled “ GetBySourceModule(string)”Gets all projections contributed by the requested module.
IReadOnlyList<ProjectionDescriptor> GetBySourceModule(string sourceModuleId)Parameters
Section titled “Parameters”sourceModuleId string
The source module identifier to filter by.
Returns
Section titled “Returns”IReadOnlyList<ProjectionDescriptor>
The matching projections, or an empty list when the module contributed none.
GetByTargetStore(string)
Section titled “ GetByTargetStore(string)”Gets all projections that target the requested store identifier.
IReadOnlyList<ProjectionDescriptor> GetByTargetStore(string targetStoreId)Parameters
Section titled “Parameters”targetStoreId string
The target store identifier to filter by.
Returns
Section titled “Returns”IReadOnlyList<ProjectionDescriptor>
The matching projections, or an empty list when no projection targets the store.