Open Montana opened 4 months ago
using
disposedValue
isDisposed
Dispose(bool disposing)
GC.SuppressFinalize(this)
Dispose()
using
directives.disposedValue
toisDisposed
for better readability.Dispose(bool disposing)
method to return early if the object has already been disposed.GC.SuppressFinalize(this)
in theDispose()
method to prevent the finalizer from being called after the object has been disposed.