Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DEMO: Use shared ViewModelBase in Demo3 #3729

Merged
merged 1 commit into from
Nov 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading