refactor: rename NotifyPropertyChanged to ObservableObject
This commit is contained in:
@ -9,7 +9,7 @@ using System.Threading.Tasks;
|
||||
|
||||
namespace Client.Application.ViewModels
|
||||
{
|
||||
public class CreatureListViewModel : NotifyPropertyChanged
|
||||
public class CreatureListViewModel : ObservableObject
|
||||
{
|
||||
public uint Id => creature.Id;
|
||||
|
||||
|
@ -8,7 +8,7 @@ using System.Threading.Tasks;
|
||||
|
||||
namespace Client.Application.ViewModels
|
||||
{
|
||||
public class DropListViewModel : NotifyPropertyChanged
|
||||
public class DropListViewModel : ObservableObject
|
||||
{
|
||||
public uint Id
|
||||
{
|
||||
|
@ -9,7 +9,7 @@ using System.Threading.Tasks;
|
||||
|
||||
namespace Client.Application.ViewModels
|
||||
{
|
||||
public class HeroSummaryInfoViewModel : NotifyPropertyChanged
|
||||
public class HeroSummaryInfoViewModel : ObservableObject
|
||||
{
|
||||
public bool IsVisible {
|
||||
get
|
||||
|
@ -18,7 +18,7 @@ using System.Windows.Media;
|
||||
namespace Client.Application.ViewModels
|
||||
{
|
||||
public class MainViewModel :
|
||||
NotifyPropertyChanged,
|
||||
ObservableObject,
|
||||
EventHandlerInterface<HeroCreatedEvent>,
|
||||
EventHandlerInterface<HeroDeletedEvent>,
|
||||
EventHandlerInterface<CreatureCreatedEvent>,
|
||||
|
Reference in New Issue
Block a user