110,536
社区成员
发帖
与我相关
我的任务
分享
public class Person
{
public string Name{get;set;}
public int Age{get;set;}
}
public class Person:ReactiveObject
{
private string _name;
private int _age;
public string Name
{
get => _name;
set => this.RaiseAndSetIfChanged(ref _name, value);
}
public int Age
{
get => _age;
set => this.RaiseAndSetIfChanged(ref _age, value);
}
}