File tree Expand file tree Collapse file tree 12 files changed +18
-21
lines changed Expand file tree Collapse file tree 12 files changed +18
-21
lines changed Original file line number Diff line number Diff line change 4
4
5
5
using System . ComponentModel ;
6
6
7
- namespace CommunityToolkit . Common . Collections ;
7
+ namespace CommunityToolkit . Mvvm . Collections ;
8
8
9
9
/// <summary>
10
10
/// 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.
13
11
/// </summary>
14
12
public interface IReadOnlyObservableGroup : INotifyPropertyChanged
15
13
{
16
14
/// <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.
19
16
/// </summary>
20
17
object Key { get ; }
21
18
Original file line number Diff line number Diff line change 7
7
using System . Linq ;
8
8
using System . Runtime . CompilerServices ;
9
9
10
- namespace CommunityToolkit . Common . Collections ;
10
+ namespace CommunityToolkit . Mvvm . Collections ;
11
11
12
12
/// <summary>
13
13
/// The extensions methods to simplify the usage of <see cref="ObservableGroupedCollection{TKey, TValue}"/>.
Original file line number Diff line number Diff line change 8
8
using System . Linq ;
9
9
using System . Runtime . CompilerServices ;
10
10
11
- namespace CommunityToolkit . Common . Collections ;
11
+ namespace CommunityToolkit . Mvvm . Collections ;
12
12
13
13
/// <summary>
14
14
/// An observable list of observable groups.
Original file line number Diff line number Diff line change 8
8
using System . Diagnostics ;
9
9
using System . Linq ;
10
10
11
- namespace CommunityToolkit . Common . Collections ;
11
+ namespace CommunityToolkit . Mvvm . Collections ;
12
12
13
13
/// <summary>
14
14
/// An observable group.
Original file line number Diff line number Diff line change 9
9
using System . Diagnostics ;
10
10
using System . Linq ;
11
11
12
- namespace CommunityToolkit . Common . Collections ;
12
+ namespace CommunityToolkit . Mvvm . Collections ;
13
13
14
14
/// <summary>
15
15
/// A read-only list of groups.
Original file line number Diff line number Diff line change 6
6
using System . Collections . ObjectModel ;
7
7
using System . Linq ;
8
8
9
- namespace CommunityToolkit . Common . Collections ;
9
+ namespace CommunityToolkit . Mvvm . Collections ;
10
10
11
11
/// <summary>
12
12
/// 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 5
5
using System . Collections . Generic ;
6
6
using System . Linq ;
7
7
8
- namespace CommunityToolkit . Common . UnitTests . Collections ;
8
+ namespace CommunityToolkit . Mvvm . UnitTests ;
9
9
10
10
public class IntGroup : List < int > , IGrouping < string , int >
11
11
{
Original file line number Diff line number Diff line change 4
4
5
5
using System . Collections . Specialized ;
6
6
using System . Linq ;
7
- using CommunityToolkit . Common . Collections ;
7
+ using CommunityToolkit . Mvvm . Collections ;
8
8
using Microsoft . VisualStudio . TestTools . UnitTesting ;
9
9
10
- namespace CommunityToolkit . Common . UnitTests . Collections ;
10
+ namespace CommunityToolkit . Mvvm . UnitTests ;
11
11
12
12
[ TestClass ]
13
13
public class ObservableGroupTests
Original file line number Diff line number Diff line change 4
4
5
5
using System ;
6
6
using System . Linq ;
7
- using CommunityToolkit . Common . Collections ;
7
+ using CommunityToolkit . Mvvm . Collections ;
8
8
using Microsoft . VisualStudio . TestTools . UnitTesting ;
9
9
10
- namespace CommunityToolkit . Common . UnitTests . Collections ;
10
+ namespace CommunityToolkit . Mvvm . UnitTests ;
11
11
12
12
[ TestClass ]
13
13
public class ObservableGroupedCollectionExtensionsTests
Original file line number Diff line number Diff line change 4
4
5
5
using System . Collections . Generic ;
6
6
using System . Linq ;
7
- using CommunityToolkit . Common . Collections ;
7
+ using CommunityToolkit . Mvvm . Collections ;
8
8
using Microsoft . VisualStudio . TestTools . UnitTesting ;
9
9
10
- namespace CommunityToolkit . Common . UnitTests . Collections ;
10
+ namespace CommunityToolkit . Mvvm . UnitTests ;
11
11
12
12
[ TestClass ]
13
13
public class ObservableGroupedCollectionTests
You can’t perform that action at this time.
0 commit comments