adjusted project structure

This commit is contained in:
NaBian committed 2021-09-05 13:26:48 +08:00
1 parent aa7310d495
commit 904b32f986
18 files changed
+79 -212

No files matched your search

@@ -0,0 +1,26 @@
using System.Collections.Generic;
using GalaSoft.MvvmLight;
namespace HandyControlDemo.ViewModel
{
public class DemoViewModelBase<T> : ViewModelBase
{
/// <summary>
/// 数据列表
/// </summary>
private IList<T> _dataList;
/// <summary>
/// 数据列表
/// </summary>
public IList<T> DataList
{
get => _dataList;
#if NET40
set => Set(nameof(DataList), ref _dataList, value);
#else
set => Set(ref _dataList, value);
#endif
}
}
}