Gamelogic Grids 1 Documentation [Deprecated]
Gamelogic Grids 1 Documentation [Deprecated]
Gamelogic.Extensions.Obsolete
GeneratorExtensions Class
GeneratorExtensions Methods
Aggregate(T, U) Method
AggregateWindow(T, U) Method
Buffer(T) Method
Cast(T) Method
Next(T) Method
OfType(T) Method
RepeatWithProbability(T) Method
Select(T, U) Method
ToPeriodicGenerator(T) Method
ToRandomElementGenerator(T) Method
Where(T) Method
WhereBuffer(T) Method
Window(T) Method
GeneratorExtensions
Window
T
Method
Namespace:
Gamelogic.Extensions.Obsolete
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
Copy
public
static
IGenerator
<
IEnumerable
<T>>
Window
<T>(
this
IGenerator
<T>
generator
,
int
windowSize
)
Parameters
generator
Type:
Gamelogic.Extensions.Obsolete
IGenerator
T
windowSize
Type:
System
Int32
Type Parameters
T
Return Value
Type:
IGenerator
IEnumerable
T
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IGenerator
T
. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic)
or
Extension Methods (C# Programming Guide)
.
See Also
Reference
GeneratorExtensions Class
Gamelogic.Extensions.Obsolete Namespace