Function StackPool.Claim

Claim ()

Claim a stack.

Public Static
Stack<T> Claim ()

Claim a stack.

Returns a pooled stack if any are in the pool. Otherwise it creates a new one. After usage, this stack should be released using the Release function (though not strictly necessary).