moved observableobject to util

This commit is contained in:
Sem van der Hoeven
2020-10-14 15:01:13 +02:00
parent c5c74a3d7a
commit 11ebc67c13
11 changed files with 10 additions and 13 deletions

View File

@@ -2,6 +2,7 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Text; using System.Text;
using Util;
namespace ClientApp.Models namespace ClientApp.Models
{ {

View File

@@ -7,6 +7,7 @@ using System.Windows.Controls;
using System.Windows.Input; using System.Windows.Input;
using ClientApp.Utils; using ClientApp.Utils;
using GalaSoft.MvvmLight.Command; using GalaSoft.MvvmLight.Command;
using Util;
namespace ClientApp.ViewModels namespace ClientApp.ViewModels
{ {

View File

@@ -3,6 +3,7 @@ using ClientApp.Utils;
using GalaSoft.MvvmLight.Command; using GalaSoft.MvvmLight.Command;
using System.Diagnostics; using System.Diagnostics;
using System.Windows.Input; using System.Windows.Input;
using Util;
namespace ClientApp.ViewModels namespace ClientApp.ViewModels
{ {

View File

@@ -3,6 +3,7 @@ using ClientApp.Utils;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Text; using System.Text;
using Util;
namespace ClientApp.ViewModels namespace ClientApp.ViewModels
{ {

View File

@@ -2,6 +2,7 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Text; using System.Text;
using Util;
namespace DoctorApp.Models namespace DoctorApp.Models
{ {

View File

@@ -1,12 +0,0 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;
namespace DoctorApp.Utils
{
public abstract class ObservableObject : INotifyPropertyChanged
{
public event PropertyChangedEventHandler PropertyChanged;
}
}

View File

@@ -6,6 +6,7 @@ using System.Collections.Generic;
using System.Text; using System.Text;
using System.Windows.Controls; using System.Windows.Controls;
using System.Windows.Input; using System.Windows.Input;
using Util;
namespace DoctorApp.ViewModels namespace DoctorApp.ViewModels
{ {

View File

@@ -5,6 +5,7 @@ using System.Collections.ObjectModel;
using System.ComponentModel; using System.ComponentModel;
using System.Text; using System.Text;
using System.Windows.Controls; using System.Windows.Controls;
using Util;
namespace DoctorApp.ViewModels namespace DoctorApp.ViewModels
{ {

View File

@@ -3,6 +3,7 @@ using DoctorApp.Utils;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Text; using System.Text;
using Util;
namespace DoctorApp.ViewModels namespace DoctorApp.ViewModels
{ {

View File

@@ -11,5 +11,6 @@
<ItemGroup> <ItemGroup>
<Compile Include="$(MSBuildThisFileDirectory)DataParser.cs" /> <Compile Include="$(MSBuildThisFileDirectory)DataParser.cs" />
<Compile Include="$(MSBuildThisFileDirectory)Hasher.cs" /> <Compile Include="$(MSBuildThisFileDirectory)Hasher.cs" />
<Compile Include="$(MSBuildThisFileDirectory)ObservableObject.cs" />
</ItemGroup> </ItemGroup>
</Project> </Project>

View File

@@ -3,7 +3,7 @@ using System.Collections.Generic;
using System.ComponentModel; using System.ComponentModel;
using System.Text; using System.Text;
namespace ClientApp.Utils namespace Util
{ {
public abstract class ObservableObject : INotifyPropertyChanged public abstract class ObservableObject : INotifyPropertyChanged
{ {