C# Class ImageProcessor.Common.Extensions.EnumerableExtensions

Encapsulates a series of time saving extension methods to the T:System.Collections.IEnumerable interface.
Show file Open project: JimBobSquarePants/ImageProcessor

Public Methods

Method Description
SteppedRange ( int fromInclusive, bool>.Func toDelegate, int step ) : IEnumerable

Generates a sequence of integral numbers within a specified range.

SteppedRange ( int fromInclusive, int toExclusive, int step ) : IEnumerable

Generates a sequence of integral numbers within a specified range.

Private Methods

Method Description
RangeIterator ( int fromInclusive, bool>.Func toDelegate, int step ) : IEnumerable

Generates a sequence of integral numbers within a specified range.

Method Details

SteppedRange() public static method

Generates a sequence of integral numbers within a specified range.
public static SteppedRange ( int fromInclusive, bool>.Func toDelegate, int step ) : IEnumerable
fromInclusive int /// The start index, inclusive. ///
toDelegate bool>.Func /// A method that has one parameter and returns a calculating the end index ///
step int /// The incremental step. ///
return IEnumerable

SteppedRange() public static method

Generates a sequence of integral numbers within a specified range.
public static SteppedRange ( int fromInclusive, int toExclusive, int step ) : IEnumerable
fromInclusive int /// The start index, inclusive. ///
toExclusive int /// The end index, exclusive. ///
step int /// The incremental step. ///
return IEnumerable