IGetter<T, in K>

Interface for data processing components that can get data items.

Description

The IGetter interface is used by data processing components that are capable of getting data items.

Instance methods

GetOneByIdAsync

Gets a data item by its unique id.

Task<T> GetOneByIdAsync(string correlationId, K id)

  • correlationId: string - (optional) transaction id used to trace execution through the call chain.
  • id: K - id of the item to be retrieved.
  • returns: Task<T> - returned item.