PairCollectionT Class |
Namespace: Syntactik.DOM
public class PairCollection<T> : ICollection<T>, IEnumerable<T>, IEnumerable where T : Pair
The PairCollectionT type exposes the following members.
Name | Description | |
---|---|---|
PairCollectionT |
Creates an instance of PairCollectionT.
| |
PairCollectionT(Pair) |
Creates an instance of PairCollectionT.
|
Name | Description | |
---|---|---|
Count | Gets the number of elements contained in the ICollectionT. | |
IsReadOnly | Gets a value indicating whether the ICollectionT is read-only. | |
Item |
Gets pair by index.
| |
Parent |
Parent of the collection.
|
Name | Description | |
---|---|---|
Add |
Adds Pair to collection.
| |
AddRange |
Adds range of pairs to collection.
| |
Clear |
Clears the collection.
| |
Contains |
Returns true if collection contains the pair.
| |
CopyTo(Array, Int32) |
Copies the collection to array.
| |
CopyTo(T, Int32) |
Copies the collection to generic array.
| |
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 | Returns an enumerator that iterates through the collection. | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Insert |
Inserts Pair in collection.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Remove |
Removes pair from collection.
| |
Replace |
Replaces existing pair with the new one.
| |
ToArray |
Creates array from the collection.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |