Class ListResultDto<T>
- Namespace
- Raytha.Application.Common.Models
- Assembly
- Raytha.Application.dll
public record ListResultDto<T> : IEquatable<ListResultDto<T>> where T : class
Type Parameters
T
- Inheritance
-
ListResultDto<T>
- Implements
- Inherited Members
Constructors
ListResultDto(IEnumerable<T>, int)
public ListResultDto(IEnumerable<T> items, int totalCount)
Parameters
items
IEnumerable<T>totalCount
int
Properties
Items
public IEnumerable<T> Items { get; init; }
Property Value
- IEnumerable<T>
TotalCount
public int TotalCount { get; init; }