IGeneratorTResult Methods |
The IGeneratorTResult generic type exposes the following members.
| Name | Description | |
|---|---|---|
| CloneAndRestart |
Clones the generator and returns the clone in a restarted state.
| |
| MoveNext |
Generates the next element.
(Inherited from IGenerator.) |
| Name | Description | |
|---|---|---|
| AggregateTSource(FuncTSource, TSource, TSource) | Overloaded.
Makes a generator that generates a running aggregate of the source generator.
(Defined by Generator.) | |
| AggregateTSource(FuncTSource, TSource, TSource, TSource) | Overloaded.
Makes a generator that generates a running aggregate of the source generator.
(Defined by Generator.) | |
| AggregateTSource, TResult(FuncTResult, TSource, TResult, TResult) | Overloaded.
Makes a generator that generates a running aggregate of the source generator.
(Defined by Generator.) | |
| ApplyTSource |
Makes a generator that applies a function on the elements it generates.
(Defined by Generator.) | |
| CastTResult |
Makes a generator that will generate elements by casting the elements of a source
generator.
(Defined by Generator.) | |
| GroupTSource(Int32) | Overloaded.
Makes a generator that returns groups of elements from the source generator.
(Defined by Generator.) | |
| GroupTSource(IGeneratorInt32) | Overloaded.
Makes a generator that generates groups of items from the source generator.
(Defined by Generator.) | |
| InterpolateTSource(Int32, FuncTSource, TSource, Single, TSource) | Overloaded.
Makes a generator that interpolates between values of a given generator.
(Defined by Generator.) | |
| InterpolateTSource(IGeneratorInt32, FuncTSource, TSource, Single, TSource) | Overloaded.
Makes a generator that interpolates between values of a given generator.
(Defined by Generator.) | |
| InterpolateDitherTSource |
Interpolates a sequence, but applies dithering.
(Defined by Generator.) | |
| LogTSource | Overloaded.
A generator that generates the elements of the source generator, but sends the generated element to the Unity Console.
(Defined by Generator.) | |
| LogTSource(ActionTSource) | Overloaded.
A generator that generates the elements of the source generator, but applies a log function to each element as it is generated.
(Defined by Generator.) | |
| MoveNextTSource |
Moves the generator by a specified amount forward.
(Defined by Generator.) | |
| NextTSource | Overloaded.
Returns the next element of the specified generator.
(Defined by Generator.) | |
| NextTSource(Int32) | Overloaded.
Returns a list of the next n items from the generator.
(Defined by Generator.) | |
| NextWhileTSource |
Generates the elements from the generator while the predicate applied to elements
hold an return them in an enumerable. After calling this method,
the next element returned by Next (or the current value of Current) will not satisfy
the predicate.
(Defined by Generator.) | |
| OfTypeTResult |
Makes a generator that will generate elements of a source generator that is
of the given type.
(Defined by Generator.) | |
| PadTSource(IEnumerableTSource) | Overloaded.
Pads the specified generator with elements from a given list.
(Defined by Generator.) | |
| PadTSource(TSource, Int32) | Overloaded.
Pads the specified generator with a constant element repeated a specified number of times.
(Defined by Generator.) | |
| RepeatEachTSource(Int32) | Overloaded.
Makes a new generator that will repeat each of the given generators
elements a number of times.
(Defined by Generator.) | |
| RepeatEachTSource(IGeneratorInt32) | Overloaded.
Makes a new generator that will repeat each of the given generators
elements a number of times.
(Defined by Generator.) | |
| SelectTSource, TResult |
Makes a generator which generates items that are transformed, generated from a given generator.
(Defined by Generator.) | |
| SelectManyTSource, TResult |
For each item in the source generator, a list of items is generated, but the items are generated
one by one (and not as a list of items).
(Defined by Generator.) | |
| SkipTSource |
Makes a generator that skips over the specified number of elements from the source generator.
(Defined by Generator.) | |
| SkipAndTakeTSource |
Makes a generator that repeatedly skips over and takes elements from a given generator.
(Defined by Generator.) | |
| SwitchAfterTSource |
Generates elements from a source generator for
the given number of steps, then switches to a second generator.
(Defined by Generator.) | |
| SwitchWhenTSource |
Generates elements from the source generator until a condition is met,
then generate elements from a second generator.
(Defined by Generator.) | |
| TakeAndSkipTSource |
Makes a generator that repeatedly takes and skips over elements from a given generator.
(Defined by Generator.) | |
| WhereTSource(FuncTSource, Boolean) | Overloaded.
Makes a generator that will only generate elements that pass the predicate.
(Defined by Generator.) | |
| WhereTSource(IGeneratorBoolean) | Overloaded.
Makes a generator that will only generate elements that pass the predicate generated by the predicate generator.
(Defined by Generator.) | |
| WhereT(FuncT, Boolean, Int32) | Overloaded.
Makes a generator that will only generate elements that pass the predicate. If the source elements does not provide
elements that pass the predicate for the given number of maximum iterations, an exception is thrown.
This is to prevent a stalling the generator forever.
(Defined by Generator.) | |
| WhereT(IGeneratorBoolean, Int32) | Overloaded.
Makes a generator that will only generate elements that pass the predicate generated by
the predicate generator. If the source elements does not provide
elements that pass the predicate for the given number of maximum iterations, an exception is thrown.
This is to prevent a stalling the generator forever.
(Defined by Generator.) | |
| WhereWindowTSource |
Only generates an item if the window of the item passes the predicate.
(Defined by Generator.) | |
| WindowTSource |
Makes a generator that generates a moving window of elements over a given generator.
(Defined by Generator.) |