Add project files.
This commit is contained in:
39
QuickMVVMSetup/Person.cs
Normal file
39
QuickMVVMSetup/Person.cs
Normal file
@ -0,0 +1,39 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace QuickMVVMSetup
|
||||
{
|
||||
public class Person : ChangeNotifier
|
||||
{
|
||||
//poco model & dto model
|
||||
|
||||
private string _FName;
|
||||
|
||||
public string FName
|
||||
{
|
||||
get { return _FName; }
|
||||
set { _FName = value; OnPropertyChanged(nameof(FName)); }
|
||||
}
|
||||
|
||||
private string _LName;
|
||||
|
||||
public string LName
|
||||
{
|
||||
get { return _LName; }
|
||||
set { _LName = value; OnPropertyChanged(nameof(LName)); }
|
||||
}
|
||||
|
||||
private string _Age;
|
||||
|
||||
public string Age
|
||||
{
|
||||
get { return _Age; }
|
||||
set { _Age = value; OnPropertyChanged(nameof(Age)); }
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user