Пример #1
0
 /// <summary>
 ///     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.
 /// </summary>
 public static Slinq <double, FuncContext <double, double> > Sequence(double start, double step)
 {
     return(FuncContext <double, double> .Sequence(start, (x, s) => x + s, step));
 }
Пример #2
0
 /// <summary>
 ///     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.
 /// </summary>
 public static Slinq <decimal, FuncContext <decimal, decimal> > Sequence(decimal start, decimal step)
 {
     return(FuncContext <decimal, decimal> .Sequence(start, (x, s) => x + s, step));
 }
Пример #3
0
 /// <summary>
 ///     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.
 /// </summary>
 public static Slinq <ulong, FuncContext <ulong, ulong> > Sequence(ulong start, ulong step)
 {
     return(FuncContext <ulong, ulong> .Sequence(start, (x, s) => x + s, step));
 }
Пример #4
0
 /// <summary>
 ///     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.
 /// </summary>
 public static Slinq <float, FuncContext <float, float> > Sequence(float start, float step)
 {
     return(FuncContext <float, float> .Sequence(start, (x, s) => x + s, step));
 }
Пример #5
0
 /// <summary>
 ///     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.
 /// </summary>
 public static Slinq <ushort, FuncContext <ushort, ushort> > Sequence(ushort start, ushort step)
 {
     return(FuncContext <ushort, ushort> .Sequence(start, (x, s) => (ushort)(x + s), step));
 }
Пример #6
0
 /// <summary>
 ///     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.
 /// </summary>
 public static Slinq <uint, FuncContext <uint, uint> > Sequence(uint start, uint step)
 {
     return(FuncContext <uint, uint> .Sequence(start, (x, s) => x + s, step));
 }
Пример #7
0
 /// <summary>
 ///     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.
 /// </summary>
 public static Slinq <T, FuncContext <T, P> > Sequence <T, P>(T seed, Func <T, P, T> selector, P parameter)
 {
     return(FuncContext <T, P> .Sequence(seed, selector, parameter));
 }
Пример #8
0
 /// <summary>
 ///     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.
 /// </summary>
 public static Slinq <sbyte, FuncContext <sbyte, sbyte> > Sequence(sbyte start, sbyte step)
 {
     return(FuncContext <sbyte, sbyte> .Sequence(start, (x, s) => (sbyte)(x + s), step));
 }
Пример #9
0
 /// <summary>
 ///     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.
 /// </summary>
 public static Slinq <T, FuncContext <T> > Sequence <T>(T seed, Func <T, T> selector)
 {
     return(FuncContext <T> .Sequence(seed, selector));
 }
Пример #10
0
 /// <summary>
 /// 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.
 /// </summary>
 public static Slinq <Single, FuncContext <Single, Single> > Sequence(Single start, Single step)
 {
     return(FuncContext <Single, Single> .Sequence(start, (x, s) => x + s, step));
 }
Пример #11
0
 /// <summary>
 /// 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.
 /// </summary>
 public static Slinq <UInt64, FuncContext <UInt64, UInt64> > Sequence(UInt64 start, UInt64 step)
 {
     return(FuncContext <UInt64, UInt64> .Sequence(start, (x, s) => x + s, step));
 }
Пример #12
0
 /// <summary>
 /// 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.
 /// </summary>
 public static Slinq <Int32, FuncContext <Int32, Int32> > Sequence(Int32 start, Int32 step)
 {
     return(FuncContext <Int32, Int32> .Sequence(start, (x, s) => x + s, step));
 }
Пример #13
0
 /// <summary>
 /// 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.
 /// </summary>
 public static Slinq <UInt16, FuncContext <UInt16, UInt16> > Sequence(UInt16 start, UInt16 step)
 {
     return(FuncContext <UInt16, UInt16> .Sequence(start, (x, s) => (UInt16)(x + s), step));
 }