Skip to content

Commit 1295a08

Browse files
committed
feat: Improve example project with filtering and update NuGet SEO
1 parent c0b715c commit 1295a08

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

SimpleDataGrid.Tests/PagedCollectionTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ public void Pagination_MovesCorrectlyBetweenPages()
104104
Assert.AreEqual(2, pagedCollection.CurrentPage);
105105
Assert.IsTrue(pagedCollection.HasNext);
106106
Assert.IsTrue(pagedCollection.HasPrevious);
107-
CollectionAssert.AreEqual(new List<int> { 3, 4 }, (List<int>)pagedCollection.CurrentPageItems);
107+
CollectionAssert.AreEqual(new List<int> { 3, 4 }, pagedCollection.CurrentPageItems.ToList());
108108

109109
// Act: Move to previous page again (first page)
110110
pagedCollection.PreviousPage();
@@ -113,7 +113,7 @@ public void Pagination_MovesCorrectlyBetweenPages()
113113
Assert.AreEqual(1, pagedCollection.CurrentPage);
114114
Assert.IsTrue(pagedCollection.HasNext);
115115
Assert.IsFalse(pagedCollection.HasPrevious);
116-
CollectionAssert.AreEqual(new List<int> { 1, 2 }, (List<int>)pagedCollection.CurrentPageItems);
116+
CollectionAssert.AreEqual(new List<int> { 1, 2 }, pagedCollection.CurrentPageItems.ToList());
117117

118118
// Act: Try to move previous beyond first page (should do nothing)
119119
pagedCollection.PreviousPage();

SimpleDataGrid/SimpleDataGrid.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
<Version>0.8.1</Version>
1212
<Authors>Derek Gooding</Authors>
1313
<Company>Derek Gooding</Company>
14-
<PackageDescription>A simple DataGrid that supports pagination, filtering, and searching.</PackageDescription>
15-
<RepositoryUrl>https://github.com/your-username/SimpleDataGrid</RepositoryUrl>
16-
<PackageTags>wpf datagrid pagination filtering searching</PackageTags>
14+
<PackageDescription>A powerful and simple DataGrid for WPF applications, offering seamless pagination, advanced filtering, and robust searching capabilities. Easily integrate and manage large datasets with a modern UI.</PackageDescription>
15+
<RepositoryUrl>https://github.com/DerekGooding/SimpleDataGrid</RepositoryUrl>
16+
<PackageTags>wpf datagrid pagination filtering searching .net .net-framework .net-core c# ui ux control component</PackageTags>
1717
<GenerateDocumentationFile>true</GenerateDocumentationFile>
1818

1919
<PackageLicenseExpression>MIT</PackageLicenseExpression>

0 commit comments

Comments
 (0)