|
|
Virtual
|
public class VirtualFileBaseCollection : KeyedCollection<string, VirtualFileBase>
The VirtualFileBaseCollection type exposes the following members.
| Name | Description | |
|---|---|---|
| VirtualFileBaseCollection | Initializes a new instance of the VirtualFileBaseCollection class that uses a case-insensitive comparer. | |
| VirtualFileBaseCollection(IEqualityComparerString) | Initializes a new instance of the VirtualFileBaseCollection class that uses the specified equality comparer. | |
| VirtualFileBaseCollection(IEqualityComparerString, Int32) | Initializes a new instance of the VirtualFileBaseCollection class that uses the specified equality comparer. |
| Name | Description | |
|---|---|---|
| Comparer | Gets the generic equality comparer that is used to determine equality of keys in the collection. (Inherited from KeyedCollectionString, VirtualFileBase) | |
| Count | Gets the number of elements actually contained in the CollectionT. (Inherited from CollectionVirtualFileBase) | |
| Dictionary | Gets the lookup dictionary of the KeyedCollectionTKey, TItem. (Inherited from KeyedCollectionString, VirtualFileBase) | |
| ItemInt32 | Gets or sets the element at the specified index. (Inherited from CollectionVirtualFileBase) | |
| ItemTKey | Gets the element with the specified key. (Inherited from KeyedCollectionString, VirtualFileBase) | |
| Items | Gets a IListT wrapper around the CollectionT. (Inherited from CollectionVirtualFileBase) |
| Name | Description | |
|---|---|---|
| Add | Adds an object to the end of the CollectionT. (Inherited from CollectionVirtualFileBase) | |
| ChangeItemKey | Changes the key associated with the specified element in the lookup dictionary. (Inherited from KeyedCollectionString, VirtualFileBase) | |
| Clear | Removes all elements from the CollectionT. (Inherited from CollectionVirtualFileBase) | |
| ClearItems | Removes all elements from the KeyedCollectionTKey, TItem. (Inherited from KeyedCollectionString, VirtualFileBase) | |
| Contains(TKey) | Determines whether the collection contains an element with the specified key. (Inherited from KeyedCollectionString, VirtualFileBase) | |
| Contains(T) | Determines whether an element is in the CollectionT. (Inherited from CollectionVirtualFileBase) | |
| CopyTo | Copies the entire CollectionT to a compatible one-dimensional Array, starting at the specified index of the target array. (Inherited from CollectionVirtualFileBase) | |
| 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 CollectionVirtualFileBase) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetKeyForItem |
Extracts the key from the specified element.
(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 CollectionVirtualFileBase) | |
| Insert | Inserts an element into the CollectionT at the specified index. (Inherited from CollectionVirtualFileBase) | |
| InsertItem | Inserts an element into the KeyedCollectionTKey, TItem at the specified index. (Inherited from KeyedCollectionString, VirtualFileBase) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
| Remove(TKey) | Removes the element with the specified key from the KeyedCollectionTKey, TItem. (Inherited from KeyedCollectionString, VirtualFileBase) | |
| Remove(T) | Removes the first occurrence of a specific object from the CollectionT. (Inherited from CollectionVirtualFileBase) | |
| RemoveAt | Removes the element at the specified index of the CollectionT. (Inherited from CollectionVirtualFileBase) | |
| RemoveItem | Removes the element at the specified index of the KeyedCollectionTKey, TItem. (Inherited from KeyedCollectionString, VirtualFileBase) | |
| SetItem | Replaces the item at the specified index with the specified item. (Inherited from KeyedCollectionString, VirtualFileBase) | |
| ToString | Returns a string that represents the current object. (Inherited from Object) |
| Name | Description | |
|---|---|---|
| GetEnumValueOrDefault |
Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions) | |
| GetEnumValueOrDefaultT |
Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions) |
The default constructor for this collection does a culture-invariant case-insensitive comparison on the keys. This allows for proper case-insensitive web-oriented behavior that is generally expected.