private void InvokePendingOperations()
 {
     while (_operations.Count > 0)
     {
         AsyncOperation operation = _operations.Poll();
         operation.Invoke();
     }
 }
示例#2
0
 private void InvokePendingOperations()
 {
     while (_operations.Count > 0)
     {
         AsyncOperation operation = (AsyncOperation)_operations.Dequeue();
         operation.Invoke();
     }
 }