Click or drag to resize

BaseSequenceT, TSelf Class

Common base class for all sequences.
Inheritance Hierarchy
SystemObject
  Austra.LibraryBaseSequenceT, TSelf
    Austra.LibraryDateSequence
    Austra.LibrarySequenceT, TSelf

Namespace: Austra.Library
Assembly: Austra.Library (in Austra.Library.dll) Version: 2.7.0+6baf2f2fa1d256420275372aea03344dd79bdd55
Syntax
C#
public abstract class BaseSequence<T, TSelf>
where T : struct, new(), Object
where TSelf : BaseSequence<T, TSelf>

Type Parameters

T
The type for the returned items.
TSelf
The covariant type of the sequence.

The BaseSequenceT, TSelf type exposes the following members.

Properties
 NameDescription
Public propertyItemIndexGets the value at the specified index.
Public propertyItemInt32Gets the value at the specified index.
Public propertyItemRangeGets a range from the sequence.
Top
Methods
 NameDescription
Public methodAllChecks whether the predicate is satisfied by all items.
Public methodAnyChecks whether the predicate is satisfied by at least one item.
Public methodClonePerforms a shallow copy of the sequence and performs a reset.
Public methodContainsChecks if the sequence contains the given value.
Public methodDistinctGets only the unique values in this sequence.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodFilterTransform a sequence acording to the predicate passed as parameter.
Public methodFirstGets the first value in the sequence.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodLastGets the last value in the sequence.
Public methodLengthGets the total number of values in the sequence.
Public methodMapTransform a sequence acording to the function passed as parameter.
Public methodNextGets the next item in the sequence.
Public methodReduceReduces a sequence to a single number.
Public methodResetResets the sequence.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodUntil(T)Get the initial values of a sequence until a value is found.
Public methodUntil(FuncT, Boolean)Get the initial values of a sequence until a predicate is satisfied.
Public methodWhileGet the initial values of a sequence that satisfy a predicate.
Public methodZipJoins the common part of two sequence with the help of a lambda.
Top
See Also