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
object ← RangedSequenceRequest
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
MinLength
Gets the minimum number of items in the sequence.
public int MinLength { get; }Property Value
Request
Gets the request the sequence should contain result of.
public object Request { get; }Property Value
Methods
Equals(RangedSequenceRequest)
public bool Equals(RangedSequenceRequest other)Parameters
other RangedSequenceRequest
Returns
Equals(object)
public override bool Equals(object obj)Parameters
obj object
Returns
GetHashCode()
public override int GetHashCode()