2.1 KiB
2.1 KiB
source_files, generated_at, model, schema_version, sha256
| source_files | generated_at | model | schema_version | sha256 | |||
|---|---|---|---|---|---|---|---|
|
2026-04-17T16:22:31.599472+00:00 | zai-org/GLM-5-FP8 | 1 | 2cac2f28b0d18155 |
Pagination
Purpose
This module defines interfaces for pagination and filtering functionality within the DTS system. It provides marker interfaces for pagination views and view models, as well as a contract for filterable list views. These interfaces enable a consistent pattern for implementing paginated, searchable UI components across the application.
Public Interface
IPaginationView (extends IBaseView)
- Marker interface with no members. Identifies views that support pagination.
IPaginationViewModel (extends IBaseViewModel)
- Marker interface with no members. Identifies view models that support pagination.
IFilterableListView
void Filter(object tag, string term)- Applies a filter to the list view using the provided tag and search term.void ClearAllFilters()- Removes all active filters from the list view.string ListViewId { get; }- Returns the identifier for this list view instance.
Invariants
IFilterableListView.ListViewIdmust return a consistent identifier for the lifetime of the view instance.- Both
IPaginationViewandIPaginationViewModelmust be compatible with their respective base types (IBaseViewandIBaseViewModel) fromDTS.Common.Base.
Dependencies
- Depends on:
DTS.Common.Base(forIBaseViewandIBaseViewModel) - Depended on by: Unknown from source alone (likely pagination UI components and list views)
Gotchas
IPaginationViewandIPaginationViewModelare marker interfaces with no members, suggesting they may be used for type checking or dependency injection registration rather than defining behavioral contracts.- The
Filtermethod acceptsobject tagas a parameter; the expected type and usage of this tag is not specified in the interface.