Class XQueuePool
Namespace: Ludiq
Syntax
public static class XQueuePool
Methods
Free<T>(Queue<T>)
Declaration
public static void Free<T>(this Queue<T> queue)
Parameters
| Type | Name | Description |
|---|---|---|
| Queue<T> | queue |
Type Parameters
| Name | Description |
|---|---|
| T |
ToQueuePooled<T>(IEnumerable<T>)
Declaration
public static Queue<T> ToQueuePooled<T>(this IEnumerable<T> source)
Parameters
| Type | Name | Description |
|---|---|---|
| IEnumerable<T> | source |
Returns
| Type | Description |
|---|---|
| Queue<T> |
Type Parameters
| Name | Description |
|---|---|
| T |