IListResult.cs 456 B

12345678910111213141516
  1. using System.Collections.Generic;
  2. namespace Abp.Application.Services.Dto
  3. {
  4. /// <summary>
  5. /// This interface is defined to standardize to return a list of items to clients.
  6. /// </summary>
  7. /// <typeparam name="T">Type of the items in the <see cref="Items"/> list</typeparam>
  8. public interface IListResult<T>
  9. {
  10. /// <summary>
  11. /// List of items.
  12. /// </summary>
  13. IReadOnlyList<T> Items { get; set; }
  14. }
  15. }