Пример #1
0
 public void EndGroup(TestGroup group)
 {
     Dispatcher.BeginInvoke(() =>
     {
         _currentGroup = null;
     });
 }
 public async void EndGroup(TestGroup group)
 {
     await Dispatcher.RunAsync(Windows.UI.Core.CoreDispatcherPriority.Normal, () =>
     {
         _currentGroup = null;
     });
 }
Пример #3
0
 public async void EndGroup(TestGroup group)
 {
     await Dispatcher.InvokeAsync(() =>
     {
         _currentGroup = null;
     });
 }
Пример #4
0
 public void StartGroup(TestGroup group)
 {
     Dispatcher.BeginInvoke(() =>
     {
         _currentGroup = new GroupDescription {
             Name = group.Name
         };
         _groups.Add(_currentGroup);
     });
 }
 public async void StartGroup(TestGroup group)
 {
     await Dispatcher.RunAsync(Windows.UI.Core.CoreDispatcherPriority.Normal, () =>
     {
         _currentGroup = new GroupDescription {
             Name = group.Name
         };
         _groups.Add(_currentGroup);
     });
 }
Пример #6
0
 public async void StartGroup(TestGroup group)
 {
     await Dispatcher.InvokeAsync(() =>
     {
         _currentGroup = new GroupDescription {
             Name = group.Name
         };
         _groups.Add(_currentGroup);
     });
 }