Interface IDataProductCatalog
เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน
Namespace: Cephalon.Abstractions.Data
Assembly: Cephalon.Abstractions.dll
Exposes the data products visible to the current runtime.
public interface IDataProductCatalogProperties
Section titled “Properties”DataProducts
Section titled “ DataProducts”Gets all data products visible to the current runtime.
IReadOnlyList<DataProductDescriptor> DataProducts { get; }Property Value
Section titled “Property Value”IReadOnlyList<DataProductDescriptor>
Methods
Section titled “Methods”GetByContractId(string)
Section titled “ GetByContractId(string)”Gets all data products that expose the requested contract identifier.
IReadOnlyList<DataProductDescriptor> GetByContractId(string contractId)Parameters
Section titled “Parameters”contractId string
The contract identifier to filter by.
Returns
Section titled “Returns”IReadOnlyList<DataProductDescriptor>
The matching data products, or an empty list when no active data product exposes the contract.
GetByDomainId(string)
Section titled “ GetByDomainId(string)”Gets all data products that belong to the requested domain.
IReadOnlyList<DataProductDescriptor> GetByDomainId(string domainId)Parameters
Section titled “Parameters”domainId string
The domain identifier to filter by.
Returns
Section titled “Returns”IReadOnlyList<DataProductDescriptor>
The matching data products, or an empty list when the domain contributed none.
GetById(string)
Section titled “ GetById(string)”Gets one data product by its stable identifier.
DataProductDescriptor? GetById(string dataProductId)Parameters
Section titled “Parameters”dataProductId string
The data product identifier to resolve.
Returns
Section titled “Returns”The matching data product, or null when it is not active.
GetBySourceModule(string)
Section titled “ GetBySourceModule(string)”Gets all data products contributed by the requested module.
IReadOnlyList<DataProductDescriptor> GetBySourceModule(string sourceModuleId)Parameters
Section titled “Parameters”sourceModuleId string
The source module identifier to filter by.
Returns
Section titled “Returns”IReadOnlyList<DataProductDescriptor>
The matching data products, or an empty list when the module contributed none.