using System.Collections.ObjectModel;
|
|
namespace WPFProject.Models
|
{
|
public class FuncModel : NotifyBase
|
{
|
private string _Name;
|
|
public string Name
|
{
|
get { return _Name; }
|
set => RaiseAndSetIfChanged(ref _Name, value);
|
}
|
|
private ObservableCollection<FuncModel> _Children;
|
|
public ObservableCollection<FuncModel> Children
|
{
|
get { return _Children; }
|
set => RaiseAndSetIfChanged(ref _Children, value);
|
}
|
|
}
|
}
|