Created
January 1, 2013 17:25
-
-
Save soltys/4428787 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pc Person | |
s Name | |
i Age | |
dt Birthday |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
public class Person : BindableBase | |
{ | |
private string _name; | |
public string Name | |
{ | |
get | |
{ | |
return _name; | |
} | |
set | |
{ | |
SetProperty(ref _name, value); | |
} | |
} | |
private int _age; | |
public int Age | |
{ | |
get | |
{ | |
return _age; | |
} | |
set | |
{ | |
SetProperty(ref _age, value); | |
} | |
} | |
private DataTime _birthday; | |
public DataTime Birthday | |
{ | |
get | |
{ | |
return _birthday; | |
} | |
set | |
{ | |
SetProperty(ref _birthday, value); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment