diff --git a/components/Collections/samples/AdvancedCollectionView.md b/components/Collections/samples/AdvancedCollectionView.md index a111ed37..c2c37bd1 100644 --- a/components/Collections/samples/AdvancedCollectionView.md +++ b/components/Collections/samples/AdvancedCollectionView.md @@ -2,7 +2,7 @@ title: AdvancedCollectionView author: nmetulev description: The AdvancedCollectionView is a collection view implementation that support filtering, sorting and incremental loading. It's meant to be used in a viewmodel. -keywords: AdvancedCollectionView, data, sorting, filtering +keywords: AdvancedCollectionView, data, sorting, filtering, Collections dev_langs: - csharp category: Helpers @@ -27,7 +27,7 @@ In your viewmodel instead of having a public [IEnumerable](https://learn.microso ## Example ```csharp -using CommunityToolkit.WinUI; +using CommunityToolkit.WinUI.Collections; // Grab a sample type public class Person diff --git a/components/Collections/samples/AdvancedCollectionViewSample.xaml b/components/Collections/samples/AdvancedCollectionViewSample.xaml index 52800777..80801029 100644 --- a/components/Collections/samples/AdvancedCollectionViewSample.xaml +++ b/components/Collections/samples/AdvancedCollectionViewSample.xaml @@ -2,7 +2,6 @@ /// A collection view implementation that supports filtering, grouping, sorting and incremental loading diff --git a/components/Collections/src/AdvancedCollectionView/AdvancedCollectionView.Events.cs b/components/Collections/src/AdvancedCollectionView/AdvancedCollectionView.Events.cs index e6c36111..87f35529 100644 --- a/components/Collections/src/AdvancedCollectionView/AdvancedCollectionView.Events.cs +++ b/components/Collections/src/AdvancedCollectionView/AdvancedCollectionView.Events.cs @@ -2,7 +2,7 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. -namespace CommunityToolkit.WinUI; +namespace CommunityToolkit.WinUI.Collections; /// /// A collection view implementation that supports filtering, grouping, sorting and incremental loading diff --git a/components/Collections/src/AdvancedCollectionView/AdvancedCollectionView.cs b/components/Collections/src/AdvancedCollectionView/AdvancedCollectionView.cs index 61287617..281b25ce 100644 --- a/components/Collections/src/AdvancedCollectionView/AdvancedCollectionView.cs +++ b/components/Collections/src/AdvancedCollectionView/AdvancedCollectionView.cs @@ -8,7 +8,7 @@ using System.Runtime.CompilerServices; using NotifyCollectionChangedAction = global::System.Collections.Specialized.NotifyCollectionChangedAction; -namespace CommunityToolkit.WinUI; +namespace CommunityToolkit.WinUI.Collections; /// /// A collection view implementation that supports filtering, sorting and incremental loading diff --git a/components/Collections/src/AdvancedCollectionView/IAdvancedCollectionView.cs b/components/Collections/src/AdvancedCollectionView/IAdvancedCollectionView.cs index 35050b27..1b42069a 100644 --- a/components/Collections/src/AdvancedCollectionView/IAdvancedCollectionView.cs +++ b/components/Collections/src/AdvancedCollectionView/IAdvancedCollectionView.cs @@ -4,7 +4,7 @@ using System.Collections; -namespace CommunityToolkit.WinUI; +namespace CommunityToolkit.WinUI.Collections; /// /// Extended ICollectionView with filtering and sorting diff --git a/components/Collections/src/AdvancedCollectionView/SortDescription.cs b/components/Collections/src/AdvancedCollectionView/SortDescription.cs index dc1dd167..abc6b83a 100644 --- a/components/Collections/src/AdvancedCollectionView/SortDescription.cs +++ b/components/Collections/src/AdvancedCollectionView/SortDescription.cs @@ -4,7 +4,7 @@ using System.Collections; -namespace CommunityToolkit.WinUI; +namespace CommunityToolkit.WinUI.Collections; /// /// Sort description diff --git a/components/Collections/src/AdvancedCollectionView/SortDirection.cs b/components/Collections/src/AdvancedCollectionView/SortDirection.cs index 38a9d8f0..3ec6a450 100644 --- a/components/Collections/src/AdvancedCollectionView/SortDirection.cs +++ b/components/Collections/src/AdvancedCollectionView/SortDirection.cs @@ -2,7 +2,7 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. -namespace CommunityToolkit.WinUI; +namespace CommunityToolkit.WinUI.Collections; /// /// Sort direction enum diff --git a/components/Collections/src/AdvancedCollectionView/VectorChangedEventArgs.cs b/components/Collections/src/AdvancedCollectionView/VectorChangedEventArgs.cs index 93136bd1..0e5be060 100644 --- a/components/Collections/src/AdvancedCollectionView/VectorChangedEventArgs.cs +++ b/components/Collections/src/AdvancedCollectionView/VectorChangedEventArgs.cs @@ -2,7 +2,7 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. -namespace CommunityToolkit.WinUI; +namespace CommunityToolkit.WinUI.Collections; /// /// Vector changed EventArgs diff --git a/components/Collections/src/IncrementalLoadingCollection/IIncrementalSource.cs b/components/Collections/src/IncrementalLoadingCollection/IIncrementalSource.cs index 1a8ac411..dadf1aff 100644 --- a/components/Collections/src/IncrementalLoadingCollection/IIncrementalSource.cs +++ b/components/Collections/src/IncrementalLoadingCollection/IIncrementalSource.cs @@ -2,7 +2,7 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. -namespace CommunityToolkit.WinUI; +namespace CommunityToolkit.WinUI.Collections; /// /// This interface represents a data source whose items can be loaded incrementally. diff --git a/components/Collections/src/IncrementalLoadingCollection/IncrementalLoadingCollection.cs b/components/Collections/src/IncrementalLoadingCollection/IncrementalLoadingCollection.cs index f87909b9..41cd4ab1 100644 --- a/components/Collections/src/IncrementalLoadingCollection/IncrementalLoadingCollection.cs +++ b/components/Collections/src/IncrementalLoadingCollection/IncrementalLoadingCollection.cs @@ -2,7 +2,7 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. -namespace CommunityToolkit.WinUI; +namespace CommunityToolkit.WinUI.Collections; /// /// This class represents an whose items can be loaded incrementally. diff --git a/components/Collections/tests/DataSource.cs b/components/Collections/tests/DataSource.cs index b4846e59..61c046f4 100644 --- a/components/Collections/tests/DataSource.cs +++ b/components/Collections/tests/DataSource.cs @@ -4,6 +4,7 @@ namespace CollectionsExperiment.Tests; +using CommunityToolkit.WinUI.Collections; public class DataSource : IIncrementalSource { private readonly IEnumerable items; diff --git a/components/Collections/tests/Test_AdvancedCollectionView.cs b/components/Collections/tests/Test_AdvancedCollectionView.cs index 7d95c206..07de59de 100644 --- a/components/Collections/tests/Test_AdvancedCollectionView.cs +++ b/components/Collections/tests/Test_AdvancedCollectionView.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +using CommunityToolkit.WinUI.Collections; + using System.Runtime.CompilerServices; namespace CollectionsExperiment.Tests; diff --git a/components/Collections/tests/Test_IncrementalLoadingCollection.cs b/components/Collections/tests/Test_IncrementalLoadingCollection.cs index 97f38ba8..99a31555 100644 --- a/components/Collections/tests/Test_IncrementalLoadingCollection.cs +++ b/components/Collections/tests/Test_IncrementalLoadingCollection.cs @@ -2,6 +2,8 @@ // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. +using CommunityToolkit.WinUI.Collections; + namespace CollectionsExperiment.Tests; [TestClass]