A keyed TestRegion collection.
Inheritance Hierarchy
System.Collections.ObjectModelCollectionTestRegion
System.Collections.ObjectModelKeyedCollectionString, TestRegion
ArtOfTest.WebAii.ObjectModelTestRegionCollection
Namespace: ArtOfTest.WebAii.ObjectModel
Assembly: ArtOfTest.WebAii (in ArtOfTest.WebAii.dll) Version: 2018.1.116.0 (2018.1.116.0)
Syntax
The TestRegionCollection type exposes the following members.
Properties
Name | Description | |
---|---|---|
Comparer | Gets the generic equality comparer that is used to determine equality of keys in the collection. (Inherited from KeyedCollectionString, TestRegion.) | |
Count | Gets the number of elements actually contained in the CollectionT. (Inherited from CollectionTestRegion.) | |
Dictionary | Gets the lookup dictionary of the KeyedCollectionTKey, TItem. (Inherited from KeyedCollectionString, TestRegion.) | |
ItemInt32 | Gets or sets the element at the specified index. (Inherited from CollectionTestRegion.) | |
ItemString |
Get a testregion by id. Case-insensitive.
| |
Items | Gets a IListT wrapper around the CollectionT. (Inherited from CollectionTestRegion.) | |
ReturnNullIfNotFound |
Gets/Sets whether to throw or return null if a region is not found.
|
Methods
Name | Description | |
---|---|---|
Add | Adds an object to the end of the CollectionT. (Inherited from CollectionTestRegion.) | |
ChangeItemKey | Changes the key associated with the specified element in the lookup dictionary. (Inherited from KeyedCollectionString, TestRegion.) | |
Clear | Removes all elements from the CollectionT. (Inherited from CollectionTestRegion.) | |
ClearItems | Removes all elements from the KeyedCollectionTKey, TItem. (Inherited from KeyedCollectionString, TestRegion.) | |
Contains(String) |
Check if a TestRegion is in this collection.
| |
Contains(T) | Determines whether an element is in the CollectionT. (Inherited from CollectionTestRegion.) | |
CopyTo | Copies the entire CollectionT to a compatible one-dimensional Array, starting at the specified index of the target array. (Inherited from CollectionTestRegion.) | |
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 CollectionT. (Inherited from CollectionTestRegion.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetKeyForItem |
Get the key for an item.
(Overrides KeyedCollectionTKey, TItemGetKeyForItem(TItem).) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IndexOf | Searches for the specified object and returns the zero-based index of the first occurrence within the entire CollectionT. (Inherited from CollectionTestRegion.) | |
Insert | Inserts an element into the CollectionT at the specified index. (Inherited from CollectionTestRegion.) | |
InsertItem | Inserts an element into the KeyedCollectionTKey, TItem at the specified index. (Inherited from KeyedCollectionString, TestRegion.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Remove(String) |
Remove an item from the collection.
| |
Remove(T) | Removes the first occurrence of a specific object from the CollectionT. (Inherited from CollectionTestRegion.) | |
RemoveAt | Removes the element at the specified index of the CollectionT. (Inherited from CollectionTestRegion.) | |
RemoveItem | Removes the element at the specified index of the KeyedCollectionTKey, TItem. (Inherited from KeyedCollectionString, TestRegion.) | |
SetItem | Replaces the item at the specified index with the specified item. (Inherited from KeyedCollectionString, TestRegion.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
See Also