ReadOnlyCollectionT Class |
Namespace: Mono.Collections.Generic
public sealed class ReadOnlyCollection<T> : Collection<T>, ICollection<T>, IEnumerable<T>, IEnumerable, IList, ICollection
The ReadOnlyCollectionT type exposes the following members.
Name | Description | |
---|---|---|
ReadOnlyCollectionT(T) | Initializes a new instance of the ReadOnlyCollectionT class | |
ReadOnlyCollectionT(CollectionT) | Initializes a new instance of the ReadOnlyCollectionT class |
Name | Description | |
---|---|---|
Count | (Inherited from CollectionT.) | |
Empty | ||
Item | (Inherited from CollectionT.) |
Name | Description | |
---|---|---|
Add | (Inherited from CollectionT.) | |
Clear | (Inherited from CollectionT.) | |
Contains | (Inherited from CollectionT.) | |
CopyTo | (Inherited from CollectionT.) | |
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 | (Inherited from CollectionT.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IndexOf | (Inherited from CollectionT.) | |
Insert | (Inherited from CollectionT.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OnAdd | (Overrides CollectionTOnAdd(T, Int32).) | |
OnClear | (Overrides CollectionTOnClear.) | |
OnInsert | (Overrides CollectionTOnInsert(T, Int32).) | |
OnRemove | (Overrides CollectionTOnRemove(T, Int32).) | |
OnSet | (Overrides CollectionTOnSet(T, Int32).) | |
Remove | (Inherited from CollectionT.) | |
RemoveAt | (Inherited from CollectionT.) | |
ToArray | (Inherited from CollectionT.) | |
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.) |