Skip to content

Interface IDataProductCatalog

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

Exposes the data products visible to the current runtime.

public interface IDataProductCatalog

Gets all data products visible to the current runtime.

IReadOnlyList<DataProductDescriptor> DataProducts { get; }

IReadOnlyList<DataProductDescriptor>

Gets all data products that expose the requested contract identifier.

IReadOnlyList<DataProductDescriptor> GetByContractId(string contractId)

contractId string

The contract identifier to filter by.

IReadOnlyList<DataProductDescriptor>

The matching data products, or an empty list when no active data product exposes the contract.

Gets all data products that belong to the requested domain.

IReadOnlyList<DataProductDescriptor> GetByDomainId(string domainId)

domainId string

The domain identifier to filter by.

IReadOnlyList<DataProductDescriptor>

The matching data products, or an empty list when the domain contributed none.

Gets one data product by its stable identifier.

DataProductDescriptor? GetById(string dataProductId)

dataProductId string

The data product identifier to resolve.

DataProductDescriptor?

The matching data product, or null when it is not active.

Gets all data products contributed by the requested module.

IReadOnlyList<DataProductDescriptor> GetBySourceModule(string sourceModuleId)

sourceModuleId string

The source module identifier to filter by.

IReadOnlyList<DataProductDescriptor>

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