Class RangedSequenceRequest
Request for the sequence of Request values. Sequece size is constrained by the MinLength and MaxLength values.
Inheritance
System.Object
RangedSequenceRequest
Implements
System.IEquatable<RangedSequenceRequest>
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: AutoFixture.Kernel
Assembly: AutoFixture.dll
Syntax
public class RangedSequenceRequest : IEquatable<RangedSequenceRequest>
Constructors
| Improve this Doc View SourceRangedSequenceRequest(Object, Int32, Int32)
Initializes a new instance of RangedSequenceRequest.
Declaration
public RangedSequenceRequest(object request, int minLength, int maxLength)
Parameters
Type | Name | Description |
---|---|---|
System.Object | request | |
System.Int32 | minLength | |
System.Int32 | maxLength |
Properties
| Improve this Doc View SourceMaxLength
Gets the maximum number of items in the sequence.
Declaration
public int MaxLength { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
MinLength
Gets the minimum number of items in the sequence.
Declaration
public int MinLength { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Request
Gets the request the sequence should contain result of.
Declaration
public object Request { get; }
Property Value
Type | Description |
---|---|
System.Object |
Methods
| Improve this Doc View SourceEquals(RangedSequenceRequest)
Declaration
public bool Equals(RangedSequenceRequest other)
Parameters
Type | Name | Description |
---|---|---|
RangedSequenceRequest | other |
Returns
Type | Description |
---|---|
System.Boolean |
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj |
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
System.Object.Equals(System.Object)
|
Improve this Doc
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 |
Overrides
System.Object.GetHashCode()
Implements
System.IEquatable<T>