Click or drag to resize

RepeatGeneratorT Class

Note: This API is now obsolete.

A generator that generates the same element each time. This is useful in situations where a generator is expected, but a constant is desired (for example, when constructing compound generators).
Inheritance Hierarchy
SystemObject
  Gamelogic.Extensions.ObsoleteRepeatGeneratorT

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

Type Parameters

T

The RepeatGeneratorT type exposes the following members.

Constructors
Methods
  NameDescription
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 methodToString (Inherited from Object.)
Top
Extension Methods
  NameDescription
Public Extension MethodAggregateWindowT, U (Defined by GeneratorExtensions.)
Public Extension MethodBufferT (Defined by GeneratorExtensions.)
Public Extension MethodCastT (Defined by GeneratorExtensions.)
Public Extension MethodNextT
Gets the next n elements from the generator.
(Defined by GeneratorExtensions.)
Public Extension MethodOfTypeT (Defined by GeneratorExtensions.)
Public Extension MethodRepeatWithProbabilityT (Defined by GeneratorExtensions.)
Public Extension MethodThrowIfNull
Throws a NullReferenceException if the object is null.
(Defined by ObjectExtensions.)
Public Extension MethodWhereT (Defined by GeneratorExtensions.)
Public Extension MethodWhereBufferT (Defined by GeneratorExtensions.)
Public Extension MethodWindowT (Defined by GeneratorExtensions.)
Top
Explicit Interface Implementations
See Also