Class RangedSequenceRequest

Namespace: AutoFixture.Kernel
Assembly: AutoFixture.dll

Request for the sequence of Request values. Sequece size is constrained by the MinLength and MaxLength values.

public class RangedSequenceRequest : IEquatable<RangedSequenceRequest>

Inheritance

objectRangedSequenceRequest

Implements

IEquatable<RangedSequenceRequest>

Inherited Members

object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Constructors

RangedSequenceRequest(object, int, int)

Initializes a new instance of RangedSequenceRequest.

public RangedSequenceRequest(object request, int minLength, int maxLength)

Parameters

request object

minLength int

maxLength int

Properties

MaxLength

Gets the maximum number of items in the sequence.

public int MaxLength { get; }

Property Value

int

MinLength

Gets the minimum number of items in the sequence.

public int MinLength { get; }

Property Value

int

Request

Gets the request the sequence should contain result of.

public object Request { get; }

Property Value

object

Methods

Equals(RangedSequenceRequest)

public bool Equals(RangedSequenceRequest other)

Parameters

other RangedSequenceRequest

Returns

bool

Equals(object)

public override bool Equals(object obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int