File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44
55using System . ComponentModel ;
66
7- namespace CommunityToolkit . Common . Collections ;
7+ namespace CommunityToolkit . Mvvm . Collections ;
88
99/// <summary>
1010/// An interface for a grouped collection of items.
11- /// It allows us to use x:Bind with <see cref="ObservableGroup{TKey, TValue}"/> and <see cref="ReadOnlyObservableGroup{TKey, TValue}"/> by providing
12- /// a non-generic type that we can declare using x:DataType.
1311/// </summary>
1412public interface IReadOnlyObservableGroup : INotifyPropertyChanged
1513{
1614 /// <summary>
17- /// Gets the key for the current collection, as an <see cref="object"/>.
18- /// It is immutable.
15+ /// Gets the key for the current collection.
1916 /// </summary>
2017 object Key { get ; }
2118
Original file line number Diff line number Diff line change 77using System . Linq ;
88using System . Runtime . CompilerServices ;
99
10- namespace CommunityToolkit . Common . Collections ;
10+ namespace CommunityToolkit . Mvvm . Collections ;
1111
1212/// <summary>
1313/// The extensions methods to simplify the usage of <see cref="ObservableGroupedCollection{TKey, TValue}"/>.
Original file line number Diff line number Diff line change 88using System . Linq ;
99using System . Runtime . CompilerServices ;
1010
11- namespace CommunityToolkit . Common . Collections ;
11+ namespace CommunityToolkit . Mvvm . Collections ;
1212
1313/// <summary>
1414/// An observable list of observable groups.
Original file line number Diff line number Diff line change 88using System . Diagnostics ;
99using System . Linq ;
1010
11- namespace CommunityToolkit . Common . Collections ;
11+ namespace CommunityToolkit . Mvvm . Collections ;
1212
1313/// <summary>
1414/// An observable group.
Original file line number Diff line number Diff line change 99using System . Diagnostics ;
1010using System . Linq ;
1111
12- namespace CommunityToolkit . Common . Collections ;
12+ namespace CommunityToolkit . Mvvm . Collections ;
1313
1414/// <summary>
1515/// A read-only list of groups.
Original file line number Diff line number Diff line change 66using System . Collections . ObjectModel ;
77using System . Linq ;
88
9- namespace CommunityToolkit . Common . Collections ;
9+ namespace CommunityToolkit . Mvvm . Collections ;
1010
1111/// <summary>
1212/// A read-only observable group. It associates a <see cref="Key"/> to a <see cref="ReadOnlyObservableCollection{T}"/>.
Original file line number Diff line number Diff line change 55using System . Collections . Generic ;
66using System . Linq ;
77
8- namespace CommunityToolkit . Common . UnitTests . Collections ;
8+ namespace CommunityToolkit . Mvvm . UnitTests ;
99
1010public class IntGroup : List < int > , IGrouping < string , int >
1111{
Original file line number Diff line number Diff line change 44
55using System . Collections . Specialized ;
66using System . Linq ;
7- using CommunityToolkit . Common . Collections ;
7+ using CommunityToolkit . Mvvm . Collections ;
88using Microsoft . VisualStudio . TestTools . UnitTesting ;
99
10- namespace CommunityToolkit . Common . UnitTests . Collections ;
10+ namespace CommunityToolkit . Mvvm . UnitTests ;
1111
1212[ TestClass ]
1313public class ObservableGroupTests
Original file line number Diff line number Diff line change 44
55using System ;
66using System . Linq ;
7- using CommunityToolkit . Common . Collections ;
7+ using CommunityToolkit . Mvvm . Collections ;
88using Microsoft . VisualStudio . TestTools . UnitTesting ;
99
10- namespace CommunityToolkit . Common . UnitTests . Collections ;
10+ namespace CommunityToolkit . Mvvm . UnitTests ;
1111
1212[ TestClass ]
1313public class ObservableGroupedCollectionExtensionsTests
Original file line number Diff line number Diff line change 44
55using System . Collections . Generic ;
66using System . Linq ;
7- using CommunityToolkit . Common . Collections ;
7+ using CommunityToolkit . Mvvm . Collections ;
88using Microsoft . VisualStudio . TestTools . UnitTesting ;
99
10- namespace CommunityToolkit . Common . UnitTests . Collections ;
10+ namespace CommunityToolkit . Mvvm . UnitTests ;
1111
1212[ TestClass ]
1313public class ObservableGroupedCollectionTests
You can’t perform that action at this time.
0 commit comments