Click or drag to resize

BatchGeneratorT Class

Note: This API is now obsolete.

Generates batches of items. The same batch is returned each time. Bath generators are more useful when used in conjunction with another generator that processes the batches, such as ShuffledBatchGenerator.
Inheritance Hierarchy
SystemObject
  Gamelogic.Extensions.ObsoleteBatchGeneratorT

Namespace:  Gamelogic.Extensions.Obsolete
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
[VersionAttribute(1, 2, 0)]
[ObsoleteAttribute("Use the static functions in Gamelogic.Generators.Generator instead.")]
public class BatchGenerator<T> : IGenerator<IEnumerable<T>>, 
	IGenerator

Type Parameters

T
The type of items this generator will generate.

The BatchGeneratorT type exposes the following members.

Constructors
Methods
  NameDescription
Public methodAdd
Adds a new item to the batch template.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodNext
Public methodRemove
Removes an item from the batch template.
Public methodToString (Inherited from Object.)
Top
Fields
  NameDescription
Public fieldbatchTemplate
Top
Extension Methods
  NameDescription
Public Extension MethodAggregateWindowIEnumerableT, U (Defined by GeneratorExtensions.)
Public Extension MethodBufferIEnumerableT (Defined by GeneratorExtensions.)
Public Extension MethodCastT (Defined by GeneratorExtensions.)
Public Extension MethodNextIEnumerableT
Gets the next n elements from the generator.
(Defined by GeneratorExtensions.)
Public Extension MethodOfTypeT (Defined by GeneratorExtensions.)
Public Extension MethodRepeatWithProbabilityIEnumerableT (Defined by GeneratorExtensions.)
Public Extension MethodThrowIfNull
Throws a NullReferenceException if the object is null.
(Defined by ObjectExtensions.)
Public Extension MethodWhereIEnumerableT (Defined by GeneratorExtensions.)
Public Extension MethodWhereBufferIEnumerableT (Defined by GeneratorExtensions.)
Public Extension MethodWindowIEnumerableT (Defined by GeneratorExtensions.)
Top
Explicit Interface Implementations
See Also