Click or drag to resize

ItemSelector Class

Selects elements by index, identifier or regular expression. For mappings from regular expression to element the enlisted string has to start with "&"
Inheritance Hierarchy
SystemObject
  Karamba.ElementsItemSelector

Namespace:  Karamba.Elements
Assembly:  KarambaCommon (in KarambaCommon.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
[SerializableAttribute]
public class ItemSelector

The ItemSelector type exposes the following members.

Constructors
  NameDescription
Public methodItemSelector
create new, empty element selector
Public methodItemSelector(ItemSelector)
copy constructor for item selectors
Top
Methods
  NameDescription
Public methodenlist(ListString, Int32)
Add entries consisting of a key (e.g. element name) and its index in the model
Public methodenlist(String, ListInt32)
enlist a key and corresponding indexes
Public methodenlist(String, Int32)
Add entry consisting of a key (e.g. element name) and its index in the model
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 methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodselect(IReadOnlyListString)
return indexes of elements that match a given element identifier
Public methodselect(String)
return indexes of elements that match a given element identifier
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also