IAzureCosmosDbGetLogsOfItemT Method
Retrieves all the logs of an item (unsorted)
Namespace: MobileTrack.DataContainers.CosmosAssembly: MobileTrack.DataContainers (in MobileTrack.DataContainers.dll) Version: 0.7+45c8d9adb5970d727cceec44a5ed61aea0016e50
Task<GridResults<LogDto>> GetLogsOfItem<T>(
UserSessionData currentUser,
T item,
bool includeMobileTrackSupport,
IReadOnlyList<FilterItem> filters,
IReadOnlyList<SortingItem> sorting,
ushort pageSize = 50,
ushort skip = 0,
CancellationToken cancellationToken = default
)
where T : IIdLabel, IHasCompany
- currentUser UserSessionData
- User performing the task
- item T
- Item we want the logs of.
- includeMobileTrackSupport Boolean
- Include logs of what MobileTrack support did to the item
- filters IReadOnlyListFilterItem
- Applied filters (if any)
- sorting IReadOnlyListSortingItem
- Sorting sequence
- pageSize UInt16 (Optional)
- page size
- skip UInt16 (Optional)
- Amount of entries to skip
- cancellationToken CancellationToken (Optional)
- Cancellation token
- T
- Object type item is based on.
TaskGridResultsLogDtoAll logs of item
item