示例#1
0
 /// <inheritdoc />
 /// <summary>
 /// Dispose method
 /// </summary>
 public void Dispose()
 {
     _timer.Dispose();
     TimerCallback(this);
     _queueClient?.Dispose();
 }
示例#2
0
 /// <summary>
 /// Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
 /// </summary>
 public void Dispose()
 {
     _queueClient?.Dispose();
     _queueClient = null;
     GC.SuppressFinalize(this);
 }
示例#3
0
 /// <inheritdoc />
 /// <summary>
 /// Dispose the current object resources
 /// </summary>
 public void Dispose()
 {
     _timer.Dispose();
     _queueClient?.Dispose();
 }