Class XStackPool
Namespace: Ludiq
Syntax
public static class XStackPool
Methods
Free<T>(Stack<T>)
Declaration
public static void Free<T>(this Stack<T> stack)
Parameters
| Type | Name | Description |
|---|---|---|
| Stack<T> | stack |
Type Parameters
| Name | Description |
|---|---|
| T |
ToStackPooled<T>(IEnumerable<T>)
Declaration
public static Stack<T> ToStackPooled<T>(this IEnumerable<T> source)
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<T> | source |
Returns
| Type | Description |
|---|---|
| Stack<T> |
Type Parameters
| Name | Description |
|---|---|
| T |