Click or drag to resize

ReadOnlyCollectionT Class

Inheritance Hierarchy
SystemObject
  Mono.Collections.GenericCollectionT
    Mono.Collections.GenericReadOnlyCollectionT

Namespace:  Mono.Collections.Generic
Assembly:  Nova.CodeDOM (in Nova.CodeDOM.dll) Version: 7.44.8391.13415
Syntax
C#
public sealed class ReadOnlyCollection<T> : Collection<T>, 
	ICollection<T>, IEnumerable<T>, IEnumerable, IList, ICollection

Type Parameters

T

The ReadOnlyCollectionT type exposes the following members.

Constructors
  NameDescription
Public methodReadOnlyCollectionT(T)
Initializes a new instance of the ReadOnlyCollectionT class
Public methodReadOnlyCollectionT(CollectionT)
Initializes a new instance of the ReadOnlyCollectionT class
Top
Properties
Methods
  NameDescription
Public methodAdd (Inherited from CollectionT.)
Public methodClear (Inherited from CollectionT.)
Public methodContains (Inherited from CollectionT.)
Public methodCopyTo (Inherited from CollectionT.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetEnumerator (Inherited from CollectionT.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIndexOf (Inherited from CollectionT.)
Public methodInsert (Inherited from CollectionT.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnAdd (Overrides CollectionTOnAdd(T, Int32).)
Protected methodOnClear (Overrides CollectionTOnClear.)
Protected methodOnInsert (Overrides CollectionTOnInsert(T, Int32).)
Protected methodOnRemove (Overrides CollectionTOnRemove(T, Int32).)
Protected methodOnSet (Overrides CollectionTOnSet(T, Int32).)
Public methodRemove (Inherited from CollectionT.)
Public methodRemoveAt (Inherited from CollectionT.)
Public methodToArray (Inherited from CollectionT.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
  NameDescription
Public Extension MethodIsEmpty
Check if the specified collection is empty or null.
(Defined by CollectionUtil.)
Public Extension MethodNNCount
Get the count of the specified collection, or 0 if it's null.
(Defined by CollectionUtil.)
Public Extension MethodNotEmpty
Check if the specified collection is empty or null.
(Defined by CollectionUtil.)
Public Extension MethodToString
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.)
Top
See Also