17 lines
445 B
C#
17 lines
445 B
C#
using System.Threading;
|
|
using HandyControlDemo.Data;
|
|
using HandyControlDemo.Service;
|
|
|
|
namespace HandyControlDemo.ViewModel
|
|
{
|
|
public class ContributorsViewModel : DemoViewModelBase<ContributorModel>
|
|
{
|
|
public ContributorsViewModel(DataService dataService)
|
|
{
|
|
ThreadPool.QueueUserWorkItem(state =>
|
|
{
|
|
DataList = dataService.GetContributorDataList();
|
|
});
|
|
}
|
|
}
|
|
} |