コード例 #1
0
 /// <inheritdoc />
 public void Dispose()
 {
     (sink as IDisposable)?.Dispose();
     shipper?.Dispose();
 }
コード例 #2
0
 /// <summary>
 /// Performs application-defined tasks associated with freeing, releasing, or resetting
 /// unmanaged resources.
 /// </summary>
 public void Dispose()
 {
     sink.Dispose();
     shipper.Dispose();
 }
コード例 #3
0
 /// <summary>
 /// Performs application-defined tasks associated with freeing, releasing, or resetting
 /// unmanaged resources.
 /// </summary>
 public void Dispose()
 {
     sink?.Dispose();
     shipper?.Dispose();
 }