Class CAGConsts
- Namespace
- SunamoCollectionsGeneric
- Assembly
- SunamoCollectionsGeneric.dll
Collection helper constants and utility methods for generic collections
public class CAGConsts
- Inheritance
-
CAGConsts
- Inherited Members
- Extension Methods
Methods
ToArrayT<T>(params T[])
Converts variable arguments to an array
public static T[] ToArrayT<T>(params T[] items)
Parameters
itemsT[]The items to convert to an array
Returns
- T[]
An array containing the provided items
Type Parameters
TThe type of elements
ToList<T>(params T[])
This must be here - SunamoValues cannot inherit from SunamoCollectionGeneric as it would create a cycle. A few lines of code won't hurt.
public static List<T> ToList<T>(params T[] items)
Parameters
itemsT[]The items to convert to a list.
Returns
- List<T>
A list containing the provided items.
Type Parameters
TThe type of elements.