Click or drag to resize

ISetOfEventData Interface

Stores a set of event data. A special function exist to either set the item, if it is not accumulateable, or to accumulate the event data.

Namespace: Altaxo.Main
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public interface ISetOfEventData : ICollection<EventArgs>, 
	IEnumerable<EventArgs>, IEnumerable

The ISetOfEventData type exposes the following members.

Properties
 NameDescription
Public propertyCountGets the number of elements contained in the ICollectionT.
(Inherited from ICollectionEventArgs)
Public propertyIsReadOnlyGets a value indicating whether the ICollectionT is read-only.
(Inherited from ICollectionEventArgs)
Top
Methods
 NameDescription
Public methodAddAdds an item to the ICollectionT.
(Inherited from ICollectionEventArgs)
Public methodClearRemoves all items from the ICollectionT.
(Inherited from ICollectionEventArgs)
Public methodContainsDetermines whether the ICollectionT contains a specific value.
(Inherited from ICollectionEventArgs)
Public methodCopyToCopies the elements of the ICollectionT to an Array, starting at a particular Array index.
(Inherited from ICollectionEventArgs)
Public methodGetEnumeratorReturns an enumerator that iterates through the collection.
(Inherited from IEnumerableEventArgs)
Public methodRemoveRemoves the first occurrence of a specific object from the ICollectionT.
(Inherited from ICollectionEventArgs)
Public methodSetOrAccumulate Puts the specified item in the collection, regardless whether it is already contained or not. If it is not already contained, it is added to the collection. If it is already contained, and is of type SelfAccumulateableEventArgs, the Add(SelfAccumulateableEventArgs) function is used to add the item to the already contained item.
Top
Extension Methods
 NameDescription
Public Extension MethodAddRangeEventArgs Adds a range of items to a collection.
(Defined by ListExtensions)
Public Extension MethodFillWithEventArgs
(Defined by ListExtensions)
Public Extension MethodFirstOrEventArgs Returns the first value of the enumeration, or, if the enumeration is empty, the other value provided in the arguments.
(Defined by EnumerableExtensions)
Public Extension MethodFlattenFromRootToLeavesEventArgs Converts a recursive data structure into a flat list. The root element is enumerated before its corresponding child element(s).
(Defined by EnumerableExtensions)
Public Extension MethodForEachDoEventArgs Executes an action for each element of the sequence.
(Defined by EnumerableExtensions)
Public Extension MethodHasSingleElementEventArgs Determines whether the specified enumeration has exactly one element.
(Defined by EnumerableExtensions)
Public Extension MethodIndexOfEventArgs Gets the index of an item in a enumeration or list.
(Defined by ListExtensions)
Public Extension MethodIndexOfFirstEventArgs Gets the index the of first item in list that fulfills the predicate predicate
(Defined by ListExtensions)
Public Extension MethodIndexOfFirstEventArgs Gets the index the of first item in list that fulfills the predicate predicate
(Defined by ListExtensions)
Public Extension MethodIndexOfMaxEventArgsReturn the index of the element with the maximum value in an enumerable. If multiple elements with the same minimal value exist, the index of the first element in the sequence is returned.
(Defined by EnumerableExtensions)
Public Extension MethodIndexOfMinEventArgsReturn the index of the element with the minimum value in an enumerable. If multiple elements with the same minimal value exist, the index of the first element in the sequence is returned.
(Defined by EnumerableExtensions)
Public Extension MethodIndicesInt32AndValuesWhereEventArgs Returns tuples of index and element of all elements in an enumeration which fullfill a given condition, given by the element's value.
(Defined by EnumerableExtensions)
Public Extension MethodIndicesInt32AndValuesWhereEventArgs Returns tuples of index and element of all elements in an enumeration which fullfill a given condition, given by the element's value and its index.
(Defined by EnumerableExtensions)
Public Extension MethodIndicesInt32WhereEventArgs Returns the indices of the elements which fullfill a given condition, given by the element's value.
(Defined by EnumerableExtensions)
Public Extension MethodIndicesInt32WhereEventArgs Returns the indices of the elements which fullfill a given condition, given by the element's value and its index.
(Defined by EnumerableExtensions)
Public Extension MethodIndicesOfMinMaxEventArgsReturn the index of the element with the minimum value in an enumerable. If multiple elements with the same minimal value exist, the index of the first element in the sequence is returned.
(Defined by EnumerableExtensions)
Public Extension MethodIsEmptyEventArgs Determines whether the specified enumeration is empty.
(Defined by EnumerableExtensions)
Public Extension MethodJoinConditionalEventArgs, T2 Takes a join of two sequences, but only takes into account those pair, which fulfill a given condition.
(Defined by EnumerableExtensions)
Public Extension MethodJoinConditionalEventArgs, T2, TResult Takes a join of two sequences, but only takes into account those pair, which fulfill a given condition.
(Defined by EnumerableExtensions)
Public Extension MethodLastOrEventArgs Returns the last value of the enumeration, or, if the enumeration is empty, the other value provided in the arguments.
(Defined by EnumerableExtensions)
Public Extension MethodMaxElementEventArgs, M Gets the element of a IEnumerabe that evaluates by means of a conversion function to the maximal value. This is different from Select(x => conversion(x)).Max() insofar as it not returns the maximum value, but the original element x which converts to the maximum value.
(Defined by EnumerableExtensions)
Public Extension MethodMaxOrDefaultEventArgs, M Evaluates the maximum of a enumeration of elements, or returns a default value if the series is empty.
(Defined by EnumerableExtensions)
Public Extension MethodSelectCombinationEventArgs Select a random combination, without repetition, from a data sequence by selecting k elements in original order.
(Defined by Combinatorics)
Public Extension MethodSelectCombinationWithRepetitionEventArgs Select a random combination, with repetition, from a data sequence by selecting k elements in original order.
(Defined by Combinatorics)
Public Extension MethodSelectPermutationEventArgs Select a random permutation from a data sequence by returning the provided data in random order. Implemented using Fisher-Yates Shuffling.
(Defined by Combinatorics)
Public Extension MethodSelectVariationEventArgs Select a random variation, without repetition, from a data sequence by randomly selecting k elements in random order. Implemented using partial Fisher-Yates Shuffling.
(Defined by Combinatorics)
Public Extension MethodSelectVariationWithRepetitionEventArgs Select a random variation, with repetition, from a data sequence by randomly selecting k elements in random order.
(Defined by Combinatorics)
Public Extension MethodTakeAllButLastEventArgs Takes all elements of the enumeration except the last element.
(Defined by EnumerableExtensions)
Public Extension MethodThisOrEmptyEventArgs Returns either the provided enumeration, or if it is null, an empty enumeration.
(Defined by EnumerableExtensions)
Public Extension MethodTryGetFirstAndLastEventArgs Returns true and the first and last value of the enumeration, or, if the enumeration is empty, returns false.
(Defined by EnumerableExtensions)
Public Extension MethodTryGetSingleElementEventArgs Try to get the one and only element of the collection.
(Defined by EnumerableExtensions)
Top
See Also