Skip to content

Commit

Permalink
Use shared ViewModelBase in Demo3 (#3729)
Browse files Browse the repository at this point in the history
  • Loading branch information
JLdgu authored Nov 25, 2024
1 parent 5443601 commit af27540
Show file tree
Hide file tree
Showing 15 changed files with 26 additions and 44 deletions.
3 changes: 2 additions & 1 deletion src/MaterialDesign3.Demo.Wpf/Domain/DemoItem.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using MaterialDesignThemes.Wpf;
using MaterialDesignDemo.Shared.Domain;
using MaterialDesignThemes.Wpf;

namespace MaterialDesign3Demo.Domain;

Expand Down
1 change: 1 addition & 0 deletions src/MaterialDesign3.Demo.Wpf/Domain/DialogsViewModel.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System.Diagnostics;
using MaterialDesignDemo.Shared.Domain;
using MaterialDesignThemes.Wpf;

namespace MaterialDesign3Demo.Domain;
Expand Down
4 changes: 3 additions & 1 deletion src/MaterialDesign3.Demo.Wpf/Domain/FieldsViewModel.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
namespace MaterialDesign3Demo.Domain;
using MaterialDesignDemo.Shared.Domain;

namespace MaterialDesign3Demo.Domain;

public class FieldsViewModel : ViewModelBase
{
Expand Down
1 change: 1 addition & 0 deletions src/MaterialDesign3.Demo.Wpf/Domain/IconPackViewModel.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
using System.Windows.Media;
using System.Windows.Media.Imaging;
using BluwolfIcons;
using MaterialDesignDemo.Shared.Domain;
using MaterialDesignThemes.Wpf;
using Microsoft.Win32;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using System.Collections.ObjectModel;
using MaterialDesignDemo.Shared.Domain;

namespace MaterialDesign3Demo.Domain;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using MaterialDesignColors;
using MaterialDesignDemo.Shared.Domain;
using MaterialDesignThemes.Wpf;

namespace MaterialDesign3Demo.Domain;
Expand Down
4 changes: 3 additions & 1 deletion src/MaterialDesign3.Demo.Wpf/Domain/PickersViewModel.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
namespace MaterialDesign3Demo.Domain;
using MaterialDesignDemo.Shared.Domain;

namespace MaterialDesign3Demo.Domain;

public class PickersViewModel : ViewModelBase
{
Expand Down
2 changes: 2 additions & 0 deletions src/MaterialDesign3.Demo.Wpf/Domain/SampleDialogViewModel.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
using MaterialDesignDemo.Shared.Domain;

namespace MaterialDesign3Demo.Domain;

public class SampleDialogViewModel : ViewModelBase
Expand Down
3 changes: 2 additions & 1 deletion src/MaterialDesign3.Demo.Wpf/Domain/SampleItem.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using MaterialDesignThemes.Wpf;
using MaterialDesignDemo.Shared.Domain;
using MaterialDesignThemes.Wpf;

namespace MaterialDesign3Demo.Domain;

Expand Down
4 changes: 3 additions & 1 deletion src/MaterialDesign3.Demo.Wpf/Domain/SelectableViewModel.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
namespace MaterialDesign3Demo.Domain;
using MaterialDesignDemo.Shared.Domain;

namespace MaterialDesign3Demo.Domain;

public class SelectableViewModel : ViewModelBase
{
Expand Down
4 changes: 3 additions & 1 deletion src/MaterialDesign3.Demo.Wpf/Domain/SlidersViewModel.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
namespace MaterialDesign3Demo.Domain;
using MaterialDesignDemo.Shared.Domain;

namespace MaterialDesign3Demo.Domain;

public class SlidersViewModel : ViewModelBase
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using MaterialDesignThemes.Wpf;
using MaterialDesignDemo.Shared.Domain;
using MaterialDesignThemes.Wpf;

namespace MaterialDesign3Demo.Domain;

Expand Down
1 change: 1 addition & 0 deletions src/MaterialDesign3.Demo.Wpf/Domain/TreesViewModel.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
using System.Collections;
using System.Collections.ObjectModel;
using MaterialDesignDemo.Shared.Domain;
using MaterialDesignThemes.Wpf;

namespace MaterialDesign3Demo.Domain;
Expand Down
37 changes: 0 additions & 37 deletions src/MaterialDesign3.Demo.Wpf/Domain/ViewModelBase.cs

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using MaterialDesign3Demo.Domain;
using MaterialDesignDemo.Shared.Domain;

namespace MaterialDesign3Demo.TransitionsDemo;

Expand Down

0 comments on commit af27540

Please sign in to comment.