Extensions Methods |
The Extensions type exposes the following members.
Name | Description | |
---|---|---|
Add(ExtensionInfo) |
Adds a field to the collection
| |
Add(String, Object) |
Adds an object to the collection. Override. This method simply calls the Add method with CollectionAddFlags.replace as the flags.
(Inherited from EAPCollectionBase.) | |
Add(String, Object, CollectionAddFlags) |
Adds an item to the collection
(Inherited from EAPCollectionBase.) | |
Add(IExtension, Enum, ExtensionAttrs, Int32, Object) |
Adds an extension to the collection
| |
AddAt |
Adds an item to the collection at the specified index. To append an item use -1 or
the collection item count as the index.
(Inherited from EAPCollectionBase.) | |
Clear |
Clears the collection
(Inherited from EAPCollectionBase.) | |
Contains |
Determines whether an element is in the collection.
(Inherited from EAPCollectionBase.) | |
ContainsKey |
Checks for the existence of an item in the hashtable
(Inherited from EAPCollectionBase.) | |
CopyTo |
Copies the entire ArrayList to a compatible one-dimensional Array, starting at the beginning of the target array.
(Inherited from EAPCollectionBase.) | |
Equals | (Inherited from Object.) | |
Exec |
Execute a command on the collection itself.
| |
Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
Find |
Finds an ExtensionInfo item in the collection. Returns null if the item is not found.
| |
FireEvent(ExtensionEvents, Object, EAPEventArgs) |
Fires an event through the collection of extensions.
This overload is preferred over the older FireEvent(Enum, ExtensionEvents, Object, EAPEventArgs, Int32, Object)
which includes parameters that are not used at this time.
| |
FireEvent(Enum, ExtensionEvents, Object, EAPEventArgs, Int32, Object) |
Fires an event through the collection of extensions.
This overload includes a number of parameters that are not used.
Typically you can use the simpler FireEvent(ExtensionEvents, Object, EAPEventArgs) as the
other parameters are not used at this time.
| |
GetEnumerator |
Returns an enumerator that can iterate through the ArrayList.
(Inherited from EAPCollectionBase.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetItem(Int32) |
Returns an item that matches the specified string index
(Inherited from EAPCollectionBase.) | |
GetItem(String) |
Returns an item that matches the specified string index
(Inherited from EAPCollectionBase.) | |
GetItemName |
Returns the name of the item.
(Overrides EAPCollectionBaseGetItemName(Object).) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IndexOf |
Returns the zero-based index of the first occurrence of an object in the internal ArrayList or in a portion of it.
(Inherited from EAPCollectionBase.) | |
IndexOfKey |
Returns the index of the item in the collection (by key)
(Inherited from EAPCollectionBase.) | |
Insert |
Inserts an element into the internal ArrayList at the specified index
(Inherited from EAPCollectionBase.) | |
IsMarkedForDeletion |
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.
(Inherited from EAPCollectionBase.) | |
IsTypeOK |
Verifies the item is an acceptable type. Generally this is a test like "return (item is [class]);".
(Overrides EAPCollectionBaseIsTypeOK(Object).) | |
ItemInfo(Int32) |
Returns the ExtensionInfo object at the given index
| |
ItemInfo(String) |
Returns the ExtensionInfo object at the given name
| |
Load(IAppContext, Object, String, String) |
Loads the extensions from the metadata into the collection
| |
Load(IAppContext, Object, String, String, Boolean) |
Loads the extensions from the metadata into the collection.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
RecalcHash |
Recalculates the internal hash
(Inherited from EAPCollectionBase.) | |
Remove(Object) |
Removes the first occurrence of a specific object from the collection
(Inherited from EAPCollectionBase.) | |
Remove(String) |
Remove the specified item from the collection.
(Inherited from EAPCollectionBase.) | |
RemoveAt |
Removes the element at the specified index
(Inherited from EAPCollectionBase.) | |
RemoveMarkedItems |
Removes the properties marked for deletion.
(Inherited from EAPCollectionBase.) | |
RemoveRange |
Removes the element at the specified index
(Inherited from EAPCollectionBase.) | |
SetItem(Int32, Object) |
Sets an item's value at the specified index.
(Inherited from EAPCollectionBase.) | |
SetItem(String, Object) |
Sets an item's value at the string index indicated by the parameters.
(Inherited from EAPCollectionBase.) | |
Sort(Boolean) |
Sort the list by its key value.
(Inherited from EAPCollectionBase.) | |
Sort(IComparer) |
Sort the collection using the provided comparer.
(Inherited from EAPCollectionBase.) | |
ToString | (Inherited from Object.) | |
Truncate |
Truncate the array starting at the specified index.
(Inherited from EAPCollectionBase.) | |
Unload |
Called when the extension collection is cleared, this method
iterates through all extensions in the collection and fires
their OnUnload() events.
(Overrides EAPCollectionBaseUnload.) | |
UnloadExtensions |
Unload any extensions loaded into a dedicated extension AppDomain.
|
Name | Description | |
---|---|---|
EqualValue |
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.) |