示例#1
0
 private void OnCheckResultGroupsAdded(object sender, CheckResultGroupEventArgs e)
 {
     foreach (var group in e.CheckResultGroups)
     {
         var vm = new CheckResultGroupViewModel(null, group);
         ResultGroupVMs.Add(vm);
     }
 }
示例#2
0
 private void InitializeGroupVMs()
 {
     foreach (var group in _service.CheckResultGroups.Values)
     {
         var vm = new CheckResultGroupViewModel(null, group);
         ResultGroupVMs.Add(vm);
     }
 }