Share via


SequenceBuilder Class

Definition

A fluent API builder for ISequence objects.

public class SequenceBuilder
type SequenceBuilder = class
Public Class SequenceBuilder
Inheritance
SequenceBuilder

Constructors

SequenceBuilder(IMutableSequence)

Creates a new builder for the given ISequence.

Properties

Metadata

The ISequence.

Methods

HasMax(Int64)

Sets the maximum value for the ISequence.

HasMin(Int64)

Sets the minimum value for the ISequence.

IncrementsBy(Int32)

Sets the ISequence to increment by the given amount when generating each next value.

IsCyclic(Boolean)

Sets whether or not the sequence will start again from the beginning once the maximum value is reached.

StartsAt(Int64)

Sets the ISequence to start at the given value.

Applies to