コード例 #1
0
 public ExtensionRecordsViewModel(WinDirStatViewModel viewModel)
 {
     this.viewModel           = viewModel;
     model                    = viewModel.Model.Extensions;
     sortedRecords            = new List <ExtensionRecordViewModel>();
     records                  = new Dictionary <string, ExtensionRecordViewModel>();
     model.CollectionChanged += OnModelCollectionChanged;
 }
コード例 #2
0
 public WinDirStatSettings(WinDirStatViewModel model)
 {
     this.model = model;
     Reset();
     PropertyChanged += OnPropertyChanged;
 }