Exemple #1
0
 /// <summary>
 ///   Private implementation of Dispose()
 /// </summary>
 /// <param name = "disposing">flag to indicate if we should actually
 ///   perform disposal.  Distinguishes the private method signature
 ///   from the public signature.</param>
 private void Dispose(bool disposing)
 {
     if (!_isDisposed && disposing)
     {
         _commandDispatcher?.Dispose();
     }
     _isDisposed = true;
 }