File tree Expand file tree Collapse file tree 9 files changed +20
-20
lines changed Expand file tree Collapse file tree 9 files changed +20
-20
lines changed Original file line number Diff line number Diff line change 45
45
</Content >
46
46
</ItemGroup >
47
47
<ItemGroup >
48
- <PackageReference Include =" Microsoft.Toolkit. Mvvm" Version =" 7.0.0 " />
48
+ <PackageReference Include =" CommunityToolkit. Mvvm" Version =" 7.0.3 " />
49
49
<PackageReference Include =" Nito.AsyncEx.Coordination" Version =" 5.1.0" />
50
50
<PackageReference Include =" Refit" Version =" 6.0.38" />
51
51
</ItemGroup >
Original file line number Diff line number Diff line change 3
3
// See the LICENSE file in the project root for more information.
4
4
5
5
using System . Threading . Tasks ;
6
- using Microsoft . Toolkit . Mvvm . Input ;
6
+ using CommunityToolkit . Mvvm . Input ;
7
7
8
8
namespace MvvmSample . Core . ViewModels
9
9
{
Original file line number Diff line number Diff line change 2
2
// The .NET Foundation licenses this file to you under the MIT license.
3
3
// See the LICENSE file in the project root for more information.
4
4
5
- using Microsoft . Toolkit . Mvvm . ComponentModel ;
6
- using Microsoft . Toolkit . Mvvm . Input ;
7
- using Microsoft . Toolkit . Mvvm . Messaging ;
8
- using Microsoft . Toolkit . Mvvm . Messaging . Messages ;
9
5
using System . Windows . Input ;
6
+ using CommunityToolkit . Mvvm . ComponentModel ;
7
+ using CommunityToolkit . Mvvm . Input ;
8
+ using CommunityToolkit . Mvvm . Messaging ;
9
+ using CommunityToolkit . Mvvm . Messaging . Messages ;
10
10
11
11
namespace MvvmSample . Core . ViewModels
12
12
{
@@ -21,9 +21,9 @@ public MessengerPageViewModel()
21
21
public ICommand RequestCurrentUsernameCommand { get ; }
22
22
public ICommand ResetCurrentUsernameCommand { get ; }
23
23
24
- public UserSenderViewModel SenderViewModel { get ; } = new UserSenderViewModel ( ) ;
24
+ public UserSenderViewModel SenderViewModel { get ; } = new ( ) ;
25
25
26
- public UserReceiverViewModel ReceiverViewModel { get ; } = new UserReceiverViewModel ( ) ;
26
+ public UserReceiverViewModel ReceiverViewModel { get ; } = new ( ) ;
27
27
28
28
// Simple viewmodel for a module sending a username message
29
29
public class UserSenderViewModel : ObservableRecipient
Original file line number Diff line number Diff line change 2
2
// The .NET Foundation licenses this file to you under the MIT license.
3
3
// See the LICENSE file in the project root for more information.
4
4
5
- using Microsoft . Toolkit . Mvvm . Input ;
6
5
using System . Threading . Tasks ;
7
6
using System . Windows . Input ;
7
+ using CommunityToolkit . Mvvm . Input ;
8
8
9
9
namespace MvvmSample . Core . ViewModels
10
10
{
Original file line number Diff line number Diff line change 3
3
// See the LICENSE file in the project root for more information.
4
4
5
5
using System . Windows . Input ;
6
- using Microsoft . Toolkit . Mvvm . Input ;
6
+ using CommunityToolkit . Mvvm . Input ;
7
7
8
8
namespace MvvmSample . Core . ViewModels
9
9
{
Original file line number Diff line number Diff line change 5
5
using System . Collections . Generic ;
6
6
using System . IO ;
7
7
using System . Threading . Tasks ;
8
- using Microsoft . Toolkit . Mvvm . ComponentModel ;
9
- using Microsoft . Toolkit . Mvvm . DependencyInjection ;
10
- using Microsoft . Toolkit . Mvvm . Input ;
8
+ using CommunityToolkit . Mvvm . ComponentModel ;
9
+ using CommunityToolkit . Mvvm . DependencyInjection ;
10
+ using CommunityToolkit . Mvvm . Input ;
11
11
using MvvmSample . Core . Helpers ;
12
12
using MvvmSample . Core . Services ;
13
13
Original file line number Diff line number Diff line change 2
2
// The .NET Foundation licenses this file to you under the MIT license.
3
3
// See the LICENSE file in the project root for more information.
4
4
5
- using Microsoft . Toolkit . Mvvm . ComponentModel ;
6
- using Microsoft . Toolkit . Mvvm . Messaging ;
7
- using Microsoft . Toolkit . Mvvm . Messaging . Messages ;
5
+ using CommunityToolkit . Mvvm . ComponentModel ;
6
+ using CommunityToolkit . Mvvm . Messaging ;
7
+ using CommunityToolkit . Mvvm . Messaging . Messages ;
8
8
using MvvmSample . Core . Models ;
9
9
10
10
namespace MvvmSample . Core . ViewModels . Widgets
Original file line number Diff line number Diff line change 5
5
using System . Collections . Generic ;
6
6
using System . Collections . ObjectModel ;
7
7
using System . Threading . Tasks ;
8
- using Microsoft . Toolkit . Mvvm . ComponentModel ;
9
- using Microsoft . Toolkit . Mvvm . DependencyInjection ;
10
- using Microsoft . Toolkit . Mvvm . Input ;
8
+ using CommunityToolkit . Mvvm . ComponentModel ;
9
+ using CommunityToolkit . Mvvm . DependencyInjection ;
10
+ using CommunityToolkit . Mvvm . Input ;
11
11
using MvvmSample . Core . Models ;
12
12
using MvvmSample . Core . Services ;
13
13
using Nito . AsyncEx ;
Original file line number Diff line number Diff line change 5
5
using Windows . ApplicationModel . Activation ;
6
6
using Windows . ApplicationModel . Core ;
7
7
using Windows . UI . Xaml ;
8
+ using CommunityToolkit . Mvvm . DependencyInjection ;
8
9
using Microsoft . Extensions . DependencyInjection ;
9
- using Microsoft . Toolkit . Mvvm . DependencyInjection ;
10
10
using MvvmSampleUwp . Services ;
11
11
using Refit ;
12
12
using MvvmSampleUwp . Helpers ;
You can’t perform that action at this time.
0 commit comments