Click or drag to resize

IMatches Methods

The IMatches type exposes the following members.

Methods
 NameDescription
Public methodClone Clone the matches
Public methodClone(IDictionaryIMatch, IMatch) Clones the matches.
Public methodFilter_keepFirst For filtering with the auto-supplied filter keepFirst
Public methodFilter_keepFirstFraction For filtering with the auto-supplied filter keepFirstFraction
Public methodFilter_keepLast For filtering with the auto-supplied filter keepLast
Public methodFilter_keepLastFraction For filtering with the auto-supplied filter keepLastFraction
Public methodFilter_removeFirst For filtering with the auto-supplied filter removeFirst
Public methodFilter_removeFirstFraction For filtering with the auto-supplied filter removeFirstFraction
Public methodFilter_removeLast For filtering with the auto-supplied filter removeLast
Public methodFilter_removeLastFraction For filtering with the auto-supplied filter removeLastFraction
Public methodFromList Reincludes the array handed out with ToList, REPLACING the current matches with the ones from the list. The list might have been reordered, matches might have been removed, or even added. Elements which were null-ed count as deleted; this gives an O(1) mechanism to remove from the array.
Public methodGetMatch Returns the match with the given index. Invalid indices cause an exception. This may be slow. If you want to iterate over the elements the Matches IEnumerable should be used.
Public methodRemoveMatch Removes the match at the given index and returns it.
Public methodRemoveUnavailable 
Public methodToList Returns the content of the current matches list in form of an array which can be efficiently indexed and reordered. The array is destroyed when this method is called again, the content is destroyed when the rule is matched again (there is only one array existing).
Public methodToListCopy Returns the content of the current matches list in form of an array. The content is destroyed when the rule is matched again (the list itself is a newly created copy).
Top
See Also