Skip to content

Commit 4a59856

Browse files
committed
Remove IsLive from BaseViewModel
1 parent 2a66185 commit 4a59856

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

SimpleViewModel/BaseClasses/BaseViewModel.cs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
using System.ComponentModel;
22
using System.Runtime.CompilerServices;
3-
using System.Windows;
43

54
namespace SimpleViewModel.BaseClasses;
65

@@ -10,11 +9,6 @@ namespace SimpleViewModel.BaseClasses;
109
/// </summary>
1110
public class BaseViewModel : INotifyPropertyChanged
1211
{
13-
/// <summary>
14-
/// Indicates whether the view model is running in live (non-design) mode.
15-
/// </summary>
16-
protected readonly bool _isLive = !DesignerProperties.GetIsInDesignMode(new DependencyObject());
17-
1812
/// <inheritdoc/>
1913
public event PropertyChangedEventHandler? PropertyChanged;
2014

SimpleViewModel/SimpleViewModel.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
1111
<PackageId>SimpleViewModel</PackageId>
12-
<Version>0.9.7</Version>
12+
<Version>0.9.7.1</Version>
1313
<Authors>Derek Gooding</Authors>
1414
<Company>Derek Gooding</Company>
1515
<Description>

0 commit comments

Comments
 (0)