CollectionT Class |
Namespace: Mono.Collections.Generic
public class Collection<T> : IList<T>, ICollection<T>, IEnumerable<T>, IEnumerable, IList, ICollection
The CollectionT type exposes the following members.
Name | Description | |
---|---|---|
CollectionT | Initializes a new instance of the CollectionT class | |
CollectionT(ICollectionT) | Initializes a new instance of the CollectionT class | |
CollectionT(Int32) | Initializes a new instance of the CollectionT class |
Name | Description | |
---|---|---|
Add | ||
Clear | ||
Contains | ||
CopyTo | ||
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetEnumerator | ||
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IndexOf | ||
Insert | ||
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OnAdd | ||
OnClear | ||
OnInsert | ||
OnRemove | ||
OnSet | ||
Remove | ||
RemoveAt | ||
ToArray | ||
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
IsEmpty |
Check if the specified collection is empty or null.
(Defined by CollectionUtil.) | |
NNCount |
Get the count of the specified collection, or 0 if it's null.
(Defined by CollectionUtil.) | |
NotEmpty |
Check if the specified collection is empty or null.
(Defined by CollectionUtil.) | |
ToString |
Format the specified collection into a single string using the specified separating
string to separate each item. Null items are converted to empty strings.
(Defined by StringUtil.) |