Click or drag to resize

Features Class

Holds a collection of Feature objects. Each Feature has a set of properties used to specify the behaviour of that Feature. The application's Features collection is accessible via Features.
Remarks
See featureProperties for a description of the available features and their properties.
Inheritance Hierarchy

Namespace:  NetQuarry
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
[SerializableAttribute]
public class Features : EAPCollectionBase, ICloneable

The Features type exposes the following members.

Constructors
  NameDescription
Public methodFeatures
Required constructor, specifies the type of object to collect.
Public methodFeatures(Int32)
Required constructor, specifies the type of object to collect.
Top
Properties
  NameDescription
Public propertyCount
The number of elements actually contained in the ArrayList.
(Inherited from EAPCollectionBase.)
Public propertyIsFixedSize
true if the ArrayList has a fixed size; otherwise, false. The default is false.
(Inherited from EAPCollectionBase.)
Public propertyIsReadOnly
Returns true if the collection is read-only. (Default is false)
(Inherited from EAPCollectionBase.)
Public propertyIsSynchronized
true if access to the internal ArrayList is synchronized (thread-safe); otherwise, false. The default is false.
(Inherited from EAPCollectionBase.)
Public propertyItemInt32
Indexer -- returns an item from the collection.
Public propertyItemString
Indexer -- returns an item from the collection.
Public propertySyncRoot
An object that can be used to synchronize access to the ArrayList.
(Inherited from EAPCollectionBase.)
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.
(Inherited from EAPCollectionBase.)
Protected methodAdd(String, Object, CollectionAddFlags)
Adds an item to the collection
(Inherited from EAPCollectionBase.)
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.
(Inherited from EAPCollectionBase.)
Public methodClear
Clears the collection
(Inherited from EAPCollectionBase.)
Public methodClone
Copies the Feature object and returns the new clone
Public methodContains
Determines whether an element is in the collection.
(Inherited from EAPCollectionBase.)
Public methodContainsKey
Checks for the existence of an item in the hashtable
(Inherited from EAPCollectionBase.)
Public methodCopyTo
Copies the entire ArrayList to a compatible one-dimensional Array, starting at the beginning of the target array.
(Inherited from EAPCollectionBase.)
Public methodStatic memberCreateInstance
Creates a new instance of a Feature and loads it. If the cache metadata property is set on the application object, then the object is loaded from the cache.
Public methodDevInfoHtml
Generates an HTML representation of the features collection appropriate for display to a developer.
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 methodGetBoolValue(String, String)
Returns a value as a boolean for a property in the collection. If the property doesn't exist, then false is returned.
Public methodGetBoolValue(String, String, Boolean)
Returns a value as a boolean for a property in the collection. If the property doesn't exist, then the defaultValue is returned.
Public methodGetDecimalValue(String, String)
Returns a value as an decimal for a property in the collection. If the property doesn't exist, then 0 is returned.
Public methodGetDecimalValue(String, String, Decimal)
Returns a value as an decimal for a property in the collection. If the property doesn't exist, then the defaultValue is returned.
Public methodGetDoubleValue(String, String)
Returns a value as an double for a property in the collection. If the property doesn't exist, 0 is returned.
Public methodGetDoubleValue(String, String, Double)
Returns a value as an double for a property in the collection. If the property doesn't exist, then the defaultValue is returned.
Public methodGetEnumerator
Returns an enumerator that can iterate through the ArrayList.
(Inherited from EAPCollectionBase.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetIntValue(String, String)
Returns a value as an integer for a property in the collection. If the property doesn't exist, then 0 is returned.
Public methodGetIntValue(String, String, Enum)
Returns a value as an integer (presumably to be interpreted as an enumeration value) for a property in the collection. If the property doesn't exist, then the defaultValue is returned.
Public methodGetIntValue(String, String, Int32)
Returns a value as an integer for a property in the collection. If the property doesn't exist, then the defaultValue is returned.
Protected methodGetItem(Int32)
Returns an item that matches the specified string index
(Inherited from EAPCollectionBase.)
Protected methodGetItem(String)
Returns an item that matches the specified string index
(Inherited from EAPCollectionBase.)
Public methodGetItemName
Returns the item's name (Name).
(Overrides EAPCollectionBaseGetItemName(Object).)
Public methodGetStringValue(String, String)
Returns a value for a property in the collection. If the property doesn't exist or is blank, then an empty string is returned.
Public methodGetStringValue(String, String, String)
Returns a value for a property in the collection. If the property doesn't exist or is blank, then the defaultValue is returned.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetValue
Returns a value for a property in the collection. If the property doesn't exist, then the defaultValue is returned.
Public methodIndexOf
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.)
Public methodIndexOfKey
Returns the index of the item in the collection (by key)
(Inherited from EAPCollectionBase.)
Public methodInsert
Inserts an element into the internal ArrayList at the specified index
(Inherited from EAPCollectionBase.)
Public methodIsAttrSet
Determines if the specified attribute is set (or any of the specified attributes are set if the attr value includes multiple attribute bits) in the specified property. The property is assumed to be an int (presumably representing an enumeration) defaulting to zero if not found.
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.
(Inherited from EAPCollectionBase.)
Protected methodIsTypeOK
Checks the validity of the type.
(Overrides EAPCollectionBaseIsTypeOK(Object).)
Public methodLoad
Loads the collection from the IDatabase.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodRecalcHash
Recalculates the internal hash
(Inherited from EAPCollectionBase.)
Public methodRemove(Object)
Removes the first occurrence of a specific object from the collection
(Inherited from EAPCollectionBase.)
Public methodRemove(String)
Remove the specified item from the collection.
(Inherited from EAPCollectionBase.)
Public methodRemoveAt
Removes the element at the specified index
(Inherited from EAPCollectionBase.)
Public methodRemoveMarkedItems
Removes the properties marked for deletion.
(Inherited from EAPCollectionBase.)
Public methodRemoveRange
Removes the element at the specified index
(Inherited from EAPCollectionBase.)
Protected methodSetItem(Int32, Object)
Sets an item's value at the specified index.
(Inherited from EAPCollectionBase.)
Protected methodSetItem(String, Object)
Sets an item's value at the string index indicated by the parameters.
(Inherited from EAPCollectionBase.)
Public methodSort(Boolean)
Sort the list by its key value.
(Inherited from EAPCollectionBase.)
Public methodSort(IComparer)
Sort the collection using the provided comparer.
(Inherited from EAPCollectionBase.)
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Public methodTruncate
Truncate the array starting at the specified index.
(Inherited from EAPCollectionBase.)
Protected methodUnload
Called when the collection is cleared allowing a derived class to clean up.
(Inherited from EAPCollectionBase.)
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