Backends/SiaNet.Backend.TensorSharp/Util/ObjectPool.cs
/// <summary>
/// Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
/// </summary>
/// <exception cref="ObjectDisposedException"></exception>
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Performs application - defined tasks associated with freeing releasing or resetting unmanaged resources .
public void Dispose()
        {
            if (!disposed)
            {
                onDispose(this);
                disposed = true;
            }
            else
            {
                throw new ObjectDisposedException(this.ToString());
            }
        }
public void Dispose ( ) { if ( ! disposed ) { onDispose ( this ) ; disposed = true ; } else { throw new ObjectDisposedException ( this . ToString ( ) ) ; } }
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Performs application - defined tasks associated with freeing releasing or resetting unmanaged resources .
None