Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Static Public Member Functions | List of all members
Smooth.Slinq.Slinqable Class Reference

Provides methods for creating basic Slinqs from various underlying collections or delegates. More...

Static Public Member Functions

static Slinq< T, UnitEmpty< T > ()
 Returns an empty Slinq of the specified type. More...
 
static Slinq< int,
FuncOptionContext< int, int > > 
Range (int start, int count)
 Returns a Slinq that enumerates the integers within a specified range. More...
 
static Slinq< T, OptionContext
< T > > 
Repeat< T > (T value)
 Returns a Slinq that repeats the specified value. More...
 
static Slinq< T, IntContext< T,
OptionContext< T > > > 
Repeat< T > (T value, int count)
 Returns a Slinq that repeats the specified value the specified number of times. More...
 
static Slinq< Byte,
FuncContext< Byte, Byte > > 
Sequence (Byte start, Byte step)
 Returns a Slinq that enumerates the arithmetic sequence generated by the specified start and step values. More...
 
static Slinq< SByte,
FuncContext< SByte, SByte > > 
Sequence (SByte start, SByte step)
 Returns a Slinq that enumerates the arithmetic sequence generated by the specified start and step values. More...
 
static Slinq< Int16,
FuncContext< Int16, Int16 > > 
Sequence (Int16 start, Int16 step)
 Returns a Slinq that enumerates the arithmetic sequence generated by the specified start and step values. More...
 
static Slinq< UInt16,
FuncContext< UInt16, UInt16 > > 
Sequence (UInt16 start, UInt16 step)
 Returns a Slinq that enumerates the arithmetic sequence generated by the specified start and step values. More...
 
static Slinq< Int32,
FuncContext< Int32, Int32 > > 
Sequence (Int32 start, Int32 step)
 Returns a Slinq that enumerates the arithmetic sequence generated by the specified start and step values. More...
 
static Slinq< UInt32,
FuncContext< UInt32, UInt32 > > 
Sequence (UInt32 start, UInt32 step)
 Returns a Slinq that enumerates the arithmetic sequence generated by the specified start and step values. More...
 
static Slinq< Int64,
FuncContext< Int64, Int64 > > 
Sequence (Int64 start, Int64 step)
 Returns a Slinq that enumerates the arithmetic sequence generated by the specified start and step values. More...
 
static Slinq< UInt64,
FuncContext< UInt64, UInt64 > > 
Sequence (UInt64 start, UInt64 step)
 Returns a Slinq that enumerates the arithmetic sequence generated by the specified start and step values. More...
 
static Slinq< Single,
FuncContext< Single, Single > > 
Sequence (Single start, Single step)
 Returns a Slinq that enumerates the arithmetic sequence generated by the specified start and step values. More...
 
static Slinq< Double,
FuncContext< Double, Double > > 
Sequence (Double start, Double step)
 Returns a Slinq that enumerates the arithmetic sequence generated by the specified start and step values. More...
 
static Slinq< Decimal,
FuncContext< Decimal, Decimal > > 
Sequence (Decimal start, Decimal step)
 Returns a Slinq that enumerates the arithmetic sequence generated by the specified start and step values. More...
 
static Slinq< T, FuncContext< T > > Sequence< T > (T seed, DelegateFunc< T, T > selector)
 Returns a Slinq that enumerates the sequence generated by specified seed value and selector function. More...
 
static Slinq< T,
FuncOptionContext< T > > 
Sequence< T > (T seed, DelegateFunc< T, Option< T >> selector)
 Returns a Slinq that enumerates the sequence generated by specified seed value and selector function. More...
 
static Slinq< T, FuncContext
< T, P > > 
Sequence< T, P > (T seed, DelegateFunc< T, P, T > selector, P parameter)
 Returns a Slinq that enumerates the sequence generated by specified seed value and selector function. More...
 
static Slinq< T,
FuncOptionContext< T, P > > 
Sequence< T, P > (T seed, DelegateFunc< T, P, Option< T >> selector, P parameter)
 Returns a Slinq that enumerates the sequence generated by specified seed value and selector function. More...
 
static Slinq< T,
IEnumerableContext< T > > 
Slinq< T > (this IEnumerable< T > enumerable)
 Returns a Slinq that enumerates over the specified enumerable. More...
 
static Slinq< T, IListContext
< T > > 
Slinq< T > (this IList< T > list, int startIndex, int step)
 Returns a Slinq that enumerates over the elements of the specified list using the specified start index and step. More...
 
static Slinq< T, IListContext
< T > > 
Slinq< T > (this IList< T > list)
 Returns a Slinq that enumerates over the elements of the specified list in ascending order. More...
 
static Slinq< T, IListContext
< T > > 
Slinq< T > (this IList< T > list, int startIndex)
 Returns a Slinq that enumerates over the elements of the specified list in ascending order starting with the specified index. More...
 
static Slinq< T,
LinkedListContext< T > > 
Slinq< T > (this LinkedListNode< T > node, int step)
 Returns a Slinq that starts with the value of the specified node and proceeds along node links. More...
 
static Slinq< T,
LinkedListContext< T > > 
Slinq< T > (this LinkedList< T > list)
 Returns a Slinq that enumerates over the values of the specified linked list in ascending order. More...
 
static Slinq< T, OptionContext
< T > > 
Slinq< T > (this Option< T > option)
 Returns a Slinq that enumerates the specified option. More...
 
static Slinq< T, IListContext
< T > > 
SlinqDescending< T > (this IList< T > list)
 Returns a Slinq that enumerates over the elements of the specified list in descending order. More...
 
static Slinq< T, IListContext
< T > > 
SlinqDescending< T > (this IList< T > list, int startIndex)
 Returns a Slinq that enumerates over the elements of the specified list in decending order starting with the specified index. More...
 
static Slinq< T,
LinkedListContext< T > > 
SlinqDescending< T > (this LinkedList< T > list)
 Returns a Slinq that enumerates over the values of the specified linked list in decending order. More...
 
static Slinq< LinkedListNode
< T >, LinkedListContext< T > > 
SlinqNodes< T > (this LinkedListNode< T > node, int step)
 Returns a Slinq that starts with the specified node and proceeds along node links. More...
 
static Slinq< LinkedListNode
< T >, LinkedListContext< T > > 
SlinqNodes< T > (this LinkedList< T > list)
 Returns a Slinq that enumerates over the nodes of the specified linked list in ascending order. More...
 
static Slinq< LinkedListNode
< T >, LinkedListContext< T > > 
SlinqNodesDescending< T > (this LinkedList< T > list)
 Returns a Slinq that enumerates over the nodes of the specified linked list in decending order. More...
 
static Slinq
< Smooth.Algebraics.Tuple< T,
int >, IListContext< T > > 
SlinqWithIndex< T > (this IList< T > list, int startIndex, int step)
 Returns a Slinq that enumerates over the element, index pairs of the specified list using the specified start index and step. More...
 
static Slinq
< Smooth.Algebraics.Tuple< T,
int >, IListContext< T > > 
SlinqWithIndex< T > (this IList< T > list)
 Returns a Slinq that enumerates over the element, index pairs of the specified list in ascending order. More...
 
static Slinq
< Smooth.Algebraics.Tuple< T,
int >, IListContext< T > > 
SlinqWithIndex< T > (this IList< T > list, int startIndex)
 Returns a Slinq that enumerates over the element, index pairs of the specified list in ascending order starting with the specified index. More...
 
static Slinq
< Smooth.Algebraics.Tuple< T,
int >, IListContext< T > > 
SlinqWithIndexDescending< T > (this IList< T > list)
 Returns a Slinq that enumerates over the element, index pairs of the specified list in descending order. More...
 
static Slinq
< Smooth.Algebraics.Tuple< T,
int >, IListContext< T > > 
SlinqWithIndexDescending< T > (this IList< T > list, int startIndex)
 Returns a Slinq that enumerates over the element, index pairs of the specified list in decending order starting with the specified index. More...
 

Detailed Description

Provides methods for creating basic Slinqs from various underlying collections or delegates.

Member Function Documentation

static Slinq<T, Unit> Smooth.Slinq.Slinqable.Empty< T > ( )
inlinestatic

Returns an empty Slinq of the specified type.

static Slinq<int, FuncOptionContext<int, int> > Smooth.Slinq.Slinqable.Range ( int  start,
int  count 
)
inlinestatic

Returns a Slinq that enumerates the integers within a specified range.

Slinqs created by this method do not support element removal.

static Slinq<T, OptionContext<T> > Smooth.Slinq.Slinqable.Repeat< T > ( value)
inlinestatic

Returns a Slinq that repeats the specified value.

Slinqs created by this method do not support element removal.

static Slinq<T, IntContext<T, OptionContext<T> > > Smooth.Slinq.Slinqable.Repeat< T > ( value,
int  count 
)
inlinestatic

Returns a Slinq that repeats the specified value the specified number of times.

Slinqs created by this method do not support element removal.

static Slinq<Byte, FuncContext<Byte, Byte> > Smooth.Slinq.Slinqable.Sequence ( Byte  start,
Byte  step 
)
inlinestatic

Returns a Slinq that enumerates the arithmetic sequence generated by the specified start and step values.

Slinqs created by this method do not support element removal.

static Slinq<SByte, FuncContext<SByte, SByte> > Smooth.Slinq.Slinqable.Sequence ( SByte  start,
SByte  step 
)
inlinestatic

Returns a Slinq that enumerates the arithmetic sequence generated by the specified start and step values.

Slinqs created by this method do not support element removal.

static Slinq<Int16, FuncContext<Int16, Int16> > Smooth.Slinq.Slinqable.Sequence ( Int16  start,
Int16  step 
)
inlinestatic

Returns a Slinq that enumerates the arithmetic sequence generated by the specified start and step values.

Slinqs created by this method do not support element removal.

static Slinq<UInt16, FuncContext<UInt16, UInt16> > Smooth.Slinq.Slinqable.Sequence ( UInt16  start,
UInt16  step 
)
inlinestatic

Returns a Slinq that enumerates the arithmetic sequence generated by the specified start and step values.

Slinqs created by this method do not support element removal.

static Slinq<Int32, FuncContext<Int32, Int32> > Smooth.Slinq.Slinqable.Sequence ( Int32  start,
Int32  step 
)
inlinestatic

Returns a Slinq that enumerates the arithmetic sequence generated by the specified start and step values.

Slinqs created by this method do not support element removal.

static Slinq<UInt32, FuncContext<UInt32, UInt32> > Smooth.Slinq.Slinqable.Sequence ( UInt32  start,
UInt32  step 
)
inlinestatic

Returns a Slinq that enumerates the arithmetic sequence generated by the specified start and step values.

Slinqs created by this method do not support element removal.

static Slinq<Int64, FuncContext<Int64, Int64> > Smooth.Slinq.Slinqable.Sequence ( Int64  start,
Int64  step 
)
inlinestatic

Returns a Slinq that enumerates the arithmetic sequence generated by the specified start and step values.

Slinqs created by this method do not support element removal.

static Slinq<UInt64, FuncContext<UInt64, UInt64> > Smooth.Slinq.Slinqable.Sequence ( UInt64  start,
UInt64  step 
)
inlinestatic

Returns a Slinq that enumerates the arithmetic sequence generated by the specified start and step values.

Slinqs created by this method do not support element removal.

static Slinq<Single, FuncContext<Single, Single> > Smooth.Slinq.Slinqable.Sequence ( Single  start,
Single  step 
)
inlinestatic

Returns a Slinq that enumerates the arithmetic sequence generated by the specified start and step values.

Slinqs created by this method do not support element removal.

static Slinq<Double, FuncContext<Double, Double> > Smooth.Slinq.Slinqable.Sequence ( Double  start,
Double  step 
)
inlinestatic

Returns a Slinq that enumerates the arithmetic sequence generated by the specified start and step values.

Slinqs created by this method do not support element removal.

static Slinq<Decimal, FuncContext<Decimal, Decimal> > Smooth.Slinq.Slinqable.Sequence ( Decimal  start,
Decimal  step 
)
inlinestatic

Returns a Slinq that enumerates the arithmetic sequence generated by the specified start and step values.

Slinqs created by this method do not support element removal.

static Slinq<T, FuncContext<T> > Smooth.Slinq.Slinqable.Sequence< T > ( seed,
DelegateFunc< T, T >  selector 
)
inlinestatic

Returns a Slinq that enumerates the sequence generated by specified seed value and selector function.

Slinqs created by this method do not support element removal.

static Slinq<T, FuncOptionContext<T> > Smooth.Slinq.Slinqable.Sequence< T > ( seed,
DelegateFunc< T, Option< T >>  selector 
)
inlinestatic

Returns a Slinq that enumerates the sequence generated by specified seed value and selector function.

The enumeration will end when the selector returns a None option.

Slinqs created by this method do not support element removal.

static Slinq<T, FuncContext<T, P> > Smooth.Slinq.Slinqable.Sequence< T, P > ( seed,
DelegateFunc< T, P, T >  selector,
parameter 
)
inlinestatic

Returns a Slinq that enumerates the sequence generated by specified seed value and selector function.

Slinqs created by this method do not support element removal.

static Slinq<T, FuncOptionContext<T, P> > Smooth.Slinq.Slinqable.Sequence< T, P > ( seed,
DelegateFunc< T, P, Option< T >>  selector,
parameter 
)
inlinestatic

Returns a Slinq that enumerates the sequence generated by specified seed value and selector function.

The enumeration will end when the selector returns a None option.

Slinqs created by this method do not support element removal.

static Slinq<T, IEnumerableContext<T> > Smooth.Slinq.Slinqable.Slinq< T > ( this IEnumerable< T >  enumerable)
inlinestatic

Returns a Slinq that enumerates over the specified enumerable.

The returned Slinq will be backed by an IEnumerator<T>, and thus will allocate an object or box.

Slinqs created by this method do not support element removal.

static Slinq<T, IListContext<T> > Smooth.Slinq.Slinqable.Slinq< T > ( this IList< T >  list,
int  startIndex,
int  step 
)
inlinestatic

Returns a Slinq that enumerates over the elements of the specified list using the specified start index and step.

If startIndex is outside the element range of the list, the resulting Slinq will be empty.

Slinqs created by this method will chain removal operations to the underlying list.

static Slinq<T, IListContext<T> > Smooth.Slinq.Slinqable.Slinq< T > ( this IList< T >  list)
inlinestatic

Returns a Slinq that enumerates over the elements of the specified list in ascending order.

Slinqs created by this method will chain removal operations to the underlying list.

static Slinq<T, IListContext<T> > Smooth.Slinq.Slinqable.Slinq< T > ( this IList< T >  list,
int  startIndex 
)
inlinestatic

Returns a Slinq that enumerates over the elements of the specified list in ascending order starting with the specified index.

If startIndex is outside the element range of the list, the resulting Slinq will be empty.

Slinqs created by this method will chain removal operations to the underlying list.

static Slinq<T, LinkedListContext<T> > Smooth.Slinq.Slinqable.Slinq< T > ( this LinkedListNode< T >  node,
int  step 
)
inlinestatic

Returns a Slinq that starts with the value of the specified node and proceeds along node links.

If step is positive, the Slinq will move along Next links, if step is negative the Slinq will move along Previous links. If step is zero the Slinq will stay in place.

If the specified node is null, the resulting Slinq will be empty.

Slinqs created by this method will chain removal operations to the underlying list.

static Slinq<T, LinkedListContext<T> > Smooth.Slinq.Slinqable.Slinq< T > ( this LinkedList< T >  list)
inlinestatic

Returns a Slinq that enumerates over the values of the specified linked list in ascending order.

Slinqs created by this method will chain removal operations to the underlying list.

static Slinq<T, OptionContext<T> > Smooth.Slinq.Slinqable.Slinq< T > ( this Option< T >  option)
inlinestatic

Returns a Slinq that enumerates the specified option.

Slinqs created by this method do not support element removal.

static Slinq<T, IListContext<T> > Smooth.Slinq.Slinqable.SlinqDescending< T > ( this IList< T >  list)
inlinestatic

Returns a Slinq that enumerates over the elements of the specified list in descending order.

Slinqs created by this method will chain removal operations to the underlying list.

static Slinq<T, IListContext<T> > Smooth.Slinq.Slinqable.SlinqDescending< T > ( this IList< T >  list,
int  startIndex 
)
inlinestatic

Returns a Slinq that enumerates over the elements of the specified list in decending order starting with the specified index.

If startIndex is outside the element range of the list, the resulting Slinq will be empty.

Slinqs created by this method will chain removal operations to the underlying list.

static Slinq<T, LinkedListContext<T> > Smooth.Slinq.Slinqable.SlinqDescending< T > ( this LinkedList< T >  list)
inlinestatic

Returns a Slinq that enumerates over the values of the specified linked list in decending order.

Slinqs created by this method will chain removal operations to the underlying list.

static Slinq<LinkedListNode<T>, LinkedListContext<T> > Smooth.Slinq.Slinqable.SlinqNodes< T > ( this LinkedListNode< T >  node,
int  step 
)
inlinestatic

Returns a Slinq that starts with the specified node and proceeds along node links.

If step is positive, the Slinq will move along Next links, if step is negative the Slinq will move along Previous links. If step is zero the Slinq will stay in place.

If the specified node is null, the resulting Slinq will be empty.

Slinqs created by this method will chain removal operations to the underlying list.

static Slinq<LinkedListNode<T>, LinkedListContext<T> > Smooth.Slinq.Slinqable.SlinqNodes< T > ( this LinkedList< T >  list)
inlinestatic

Returns a Slinq that enumerates over the nodes of the specified linked list in ascending order.

Slinqs created by this method will chain removal operations to the underlying list.

static Slinq<LinkedListNode<T>, LinkedListContext<T> > Smooth.Slinq.Slinqable.SlinqNodesDescending< T > ( this LinkedList< T >  list)
inlinestatic

Returns a Slinq that enumerates over the nodes of the specified linked list in decending order.

Slinqs created by this method will chain removal operations to the underlying list.

static Slinq<Smooth.Algebraics.Tuple<T, int>, IListContext<T> > Smooth.Slinq.Slinqable.SlinqWithIndex< T > ( this IList< T >  list,
int  startIndex,
int  step 
)
inlinestatic

Returns a Slinq that enumerates over the element, index pairs of the specified list using the specified start index and step.

If startIndex is outside the element range of the list, the resulting Slinq will be empty.

Slinqs created by this method will chain removal operations to the underlying list.

static Slinq<Smooth.Algebraics.Tuple<T, int>, IListContext<T> > Smooth.Slinq.Slinqable.SlinqWithIndex< T > ( this IList< T >  list)
inlinestatic

Returns a Slinq that enumerates over the element, index pairs of the specified list in ascending order.

Slinqs created by this method will chain removal operations to the underlying list.

static Slinq<Smooth.Algebraics.Tuple<T, int>, IListContext<T> > Smooth.Slinq.Slinqable.SlinqWithIndex< T > ( this IList< T >  list,
int  startIndex 
)
inlinestatic

Returns a Slinq that enumerates over the element, index pairs of the specified list in ascending order starting with the specified index.

If startIndex is outside the element range of the list, the resulting Slinq will be empty.

Slinqs created by this method will chain removal operations to the underlying list.

static Slinq<Smooth.Algebraics.Tuple<T, int>, IListContext<T> > Smooth.Slinq.Slinqable.SlinqWithIndexDescending< T > ( this IList< T >  list)
inlinestatic

Returns a Slinq that enumerates over the element, index pairs of the specified list in descending order.

Slinqs created by this method will chain removal operations to the underlying list.

static Slinq<Smooth.Algebraics.Tuple<T, int>, IListContext<T> > Smooth.Slinq.Slinqable.SlinqWithIndexDescending< T > ( this IList< T >  list,
int  startIndex 
)
inlinestatic

Returns a Slinq that enumerates over the element, index pairs of the specified list in decending order starting with the specified index.

If startIndex is outside the element range of the list, the resulting Slinq will be empty.

Slinqs created by this method will chain removal operations to the underlying list.


The documentation for this class was generated from the following file: