Click or drag to resize
Accord.NET (logo)

ColumnOptionCollectionTOptions, TFilter Class

Column option collection.
Inheritance Hierarchy
SystemObject
  System.Collections.ObjectModelCollectionTOptions
    System.Collections.ObjectModelKeyedCollectionString, TOptions
      Accord.Statistics.FiltersColumnOptionCollectionTOptions, TFilter

Namespace:  Accord.Statistics.Filters
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax
[SerializableAttribute]
public class ColumnOptionCollection<TOptions, TFilter> : KeyedCollection<string, TOptions>
where TOptions : ColumnOptionsBase<TFilter>
Request Example View Source

Type Parameters

TOptions
The type of the column options that will be used by the TFilter to determine how to process a particular column.
TFilter
The type of the filter that this collection belongs to.

The ColumnOptionCollectionTOptions, TFilter type exposes the following members.

Constructors
  NameDescription
Public methodColumnOptionCollectionTOptions, TFilter
Initializes a new instance of the ColumnOptionCollectionTOptions, TFilter class
Top
Properties
  NameDescription
Public propertyComparer
Gets the generic equality comparer that is used to determine equality of keys in the collection.
(Inherited from KeyedCollectionString, TOptions.)
Public propertyCount
Gets the number of elements actually contained in the CollectionT.
(Inherited from CollectionTOptions.)
Protected propertyDictionary
Gets the lookup dictionary of the KeyedCollectionTKey, TItem.
(Inherited from KeyedCollectionString, TOptions.)
Public propertyItemTKey
Gets the element with the specified key.
(Inherited from KeyedCollectionString, TOptions.)
Public propertyItemInt32
Gets or sets the element at the specified index.
(Inherited from CollectionTOptions.)
Protected propertyItems
Gets a IListT wrapper around the CollectionT.
(Inherited from CollectionTOptions.)
Top
Methods
  NameDescription
Public methodAdd
Adds a new column options definition to the collection.
Protected methodChangeItemKey
Changes the key associated with the specified element in the lookup dictionary.
(Inherited from KeyedCollectionString, TOptions.)
Public methodClear
Removes all elements from the CollectionT.
(Inherited from CollectionTOptions.)
Protected methodClearItems
Removes all elements from the KeyedCollectionTKey, TItem.
(Inherited from KeyedCollectionString, TOptions.)
Public methodContains(TKey)
Determines whether the collection contains an element with the specified key.
(Inherited from KeyedCollectionString, TOptions.)
Public methodContains(T)
Determines whether an element is in the CollectionT.
(Inherited from CollectionTOptions.)
Public methodCopyTo
Copies the entire CollectionT to a compatible one-dimensional Array, starting at the specified index of the target array.
(Inherited from CollectionTOptions.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetEnumerator
Returns an enumerator that iterates through the CollectionT.
(Inherited from CollectionTOptions.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Protected methodGetKeyForItem
Extracts the key from the specified column options.
(Overrides KeyedCollectionTKey, TItemGetKeyForItem(TItem).)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIndexOf
Searches for the specified object and returns the zero-based index of the first occurrence within the entire CollectionT.
(Inherited from CollectionTOptions.)
Public methodInsert
Inserts an element into the CollectionT at the specified index.
(Inherited from CollectionTOptions.)
Protected methodInsertItem
Inserts an element into the KeyedCollectionTKey, TItem at the specified index.
(Inherited from KeyedCollectionString, TOptions.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRemove(TKey)
Removes the element with the specified key from the KeyedCollectionTKey, TItem.
(Inherited from KeyedCollectionString, TOptions.)
Public methodRemove(T)
Removes the first occurrence of a specific object from the CollectionT.
(Inherited from CollectionTOptions.)
Public methodRemoveAt
Removes the element at the specified index of the CollectionT.
(Inherited from CollectionTOptions.)
Protected methodRemoveItem
Removes the element at the specified index of the KeyedCollectionTKey, TItem.
(Inherited from KeyedCollectionString, TOptions.)
Protected methodSetItem
Replaces the item at the specified index with the specified item.
(Inherited from KeyedCollectionString, TOptions.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTryGetValue
Gets the associated options for the given column name.
Top
Events
  NameDescription
Public eventAddingNew
Occurs when a new TOptions is being added to the collection. Handlers of this event can prevent a column options from being added by throwing an exception.
Top
Extension Methods
  NameDescription
Public Extension MethodHasMethod
Checks whether an object implements a method with the given name.
(Defined by ExtensionMethods.)
Public Extension MethodIsEqual
Compares two objects for equality, performing an elementwise comparison if the elements are vectors or matrices.
(Defined by Matrix.)
Public Extension MethodTo(Type)Overloaded.
Converts an object into another type, irrespective of whether the conversion can be done at compile time or not. This can be used to convert generic types to numeric types during runtime.
(Defined by ExtensionMethods.)
Public Extension MethodToTOverloaded.
Converts an object into another type, irrespective of whether the conversion can be done at compile time or not. This can be used to convert generic types to numeric types during runtime.
(Defined by ExtensionMethods.)
Top
See Also