NavSearchViewModel.cs 911 B

12345678910111213141516171819202122232425
  1. using System.Collections.Generic;
  2. using Quadarax.Foundation.Core.QMonitor;
  3. namespace qmonlib.ui.ViewModels.Navigator
  4. {
  5. public class NavSearchViewModel : ReceiverViewModelBase
  6. {
  7. /// <summary>
  8. /// Filter pattern expression
  9. /// </summary>
  10. public string? SearchText { get; set; }
  11. /// <summary>
  12. /// List of general metadata (filtered by <see cref="SearchText"/>)
  13. /// </summary>
  14. public IList<MonGeneral> DataFiltered { get; set; } = new List<MonGeneral>();
  15. /// <summary>
  16. /// Count of general metadata total count (not filtered)
  17. /// </summary>
  18. public int DataTotalCount { get; set; }
  19. /// <summary>
  20. /// Count of general metadata filtered count (what returns in <see cref="DataFiltered"/>
  21. /// </summary>
  22. public int DataFilteredCount { get; set; }
  23. }
  24. }