 | RangeTStep Method |
Returns an iterator which steps through the range, applying the specified
step delegate on each iteration. The method determines whether to begin
at the start or end of the range based on whether the step delegate appears to go
"up" or "down". The step delegate is applied to the start point. If the result is
more than the start point, the returned iterator begins at the start point; otherwise
it begins at the end point.
Namespace:
Koden.Utils
Assembly:
Koden.Utils (in Koden.Utils.dll) Version: 1.1.6453.26060
Syntaxpublic RangeIterator<T> Step(
Func<T, T> step
)
Public Function Step (
step As Func(Of T, T)
) As RangeIterator(Of T)
public:
RangeIterator<T>^ Step(
Func<T, T>^ step
)
member Step :
step : Func<'T, 'T> -> RangeIterator<'T>
Parameters
- step
- Type: SystemFuncT, T
Delegate to apply to the "current value" on each iteration
Return Value
Type:
RangeIteratorT[Missing <returns> documentation for "M:Koden.Utils.Range`1.Step(System.Func{`0,`0})"]
See Also