Click or drag to resize

EAPCollectionBase Class

Provides the abstract (MustInherit in Visual Basic) base class for a key/value based collection that implements IList. This class is the base class for all of the public collections in the EAP.
Inheritance Hierarchy
SystemObject
  NetQuarryEAPCollectionBase
    More...

Namespace:  NetQuarry
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
[SerializableAttribute]
public abstract class EAPCollectionBase : IList, 
	ICollection, IEnumerable

The EAPCollectionBase type exposes the following members.

Constructors
  NameDescription
Protected methodEAPCollectionBase(Type)
ctor -- protected, this class is abstract. The derivitive must provide the type of the object that it is collecting in this collection
Protected methodEAPCollectionBase(Type, Int32)
ctor -- protected, this class is abstract. The derivitive must provide the type of the object that it is collecting in this collection
Top
Properties
  NameDescription
Public propertyCount
The number of elements actually contained in the ArrayList.
Public propertyIsFixedSize
true if the ArrayList has a fixed size; otherwise, false. The default is false.
Public propertyIsReadOnly
Returns true if the collection is read-only. (Default is false)
Public propertyIsSynchronized
true if access to the internal ArrayList is synchronized (thread-safe); otherwise, false. The default is false.
Public propertySyncRoot
An object that can be used to synchronize access to the ArrayList.
Top
Methods
  NameDescription
Protected methodAdd(String, Object)
Adds an object to the collection. Override. This method simply calls the Add method with CollectionAddFlags.replace as the flags.
Protected methodAdd(String, Object, CollectionAddFlags)
Adds an item to the collection
Protected methodAddAt
Adds an item to the collection at the specified index. To append an item use -1 or the collection item count as the index.
Public methodClear
Clears the collection
Public methodContains
Determines whether an element is in the collection.
Public methodContainsKey
Checks for the existence of an item in the hashtable
Public methodCopyTo
Copies the entire ArrayList to a compatible one-dimensional Array, starting at the beginning of the target array.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetEnumerator
Returns an enumerator that can iterate through the ArrayList.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Protected methodGetItem(Int32)
Returns an item that matches the specified string index
Protected methodGetItem(String)
Returns an item that matches the specified string index
Public methodGetItemName
Returns the name of the item.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIndexOf
Returns the zero-based index of the first occurrence of an object in the internal ArrayList or in a portion of it.
Public methodIndexOfKey
Returns the index of the item in the collection (by key)
Public methodInsert
Inserts an element into the internal ArrayList at the specified index
Protected methodIsMarkedForDeletion
Determines if this element is marked for deletion. Note that this base implementation must be overridden in order to support RemoveMarkedItems() for a partular collection.
Protected methodIsTypeOK
Verifies the item is an acceptable type. Generally this is a test like "return (item is [class]);".
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodRecalcHash
Recalculates the internal hash
Public methodRemove(Object)
Removes the first occurrence of a specific object from the collection
Public methodRemove(String)
Remove the specified item from the collection.
Public methodRemoveAt
Removes the element at the specified index
Public methodRemoveMarkedItems
Removes the properties marked for deletion.
Public methodRemoveRange
Removes the element at the specified index
Protected methodSetItem(Int32, Object)
Sets an item's value at the specified index.
Protected methodSetItem(String, Object)
Sets an item's value at the string index indicated by the parameters.
Public methodSort(Boolean)
Sort the list by its key value.
Public methodSort(IComparer)
Sort the collection using the provided comparer.
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Public methodTruncate
Truncate the array starting at the specified index.
Protected methodUnload
Called when the collection is cleared allowing a derived class to clean up.
Top
Extension Methods
  NameDescription
Public Extension MethodEqualValue
Determines if the object value is equal to another object. If the two objects are null, then this returns true. There is special handling for guid comparisons (since a guid could be a string formatted in up to 3 different ways). If the special guid handling is not performed, then the object.Equals method is used.
(Defined by EAPUtil.)
Top
See Also
Inheritance Hierarchy
SystemObject
  NetQuarryEAPCollectionBase
    NetQuarryComponentInfos
    NetQuarry.DataFields
    NetQuarry.DataMapperCommands
    NetQuarry.DataMapperFilters
    NetQuarry.DataTableInfos
    NetQuarryDatabases
    NetQuarry.DiagnosticsPerfmonInstanceCounters
    NetQuarry.DiagnosticsPerfmonObjectCounters
    NetQuarry.DiagnosticsPerfmonObjects
    NetQuarryEAPVersions
    NetQuarryEventInfos
    NetQuarryExtensions
    NetQuarryFavorites
    NetQuarryFeatures
    NetQuarryInstalledLocales
    NetQuarry.MetadataObjectTypes
    NetQuarry.MetadataParameters
    NetQuarryMetaTableInfos
    NetQuarryModuleInfos
    NetQuarryNamedFilters
    NetQuarryNavigators
    NetQuarryNavTargets
    NetQuarryPageElementInfos
    NetQuarryPageInfos
    NetQuarryPicklistItemInfos
    NetQuarryPicklists
    NetQuarryProperties
    NetQuarryReports
    NetQuarrySavedFilters
    NetQuarry.ServicesServiceInfos
    NetQuarryTemplateFields
    NetQuarryTemplates
    NetQuarryTextItems
    NetQuarryTimeZones