Class MultipleRequest
Namespace: AutoFixture.Kernel
Assembly: AutoFixture.dll
Represents a request for many (an unspecified number) of specimens.
public class MultipleRequest : IEquatable<MultipleRequest>Inheritance
Implements
Inherited Members
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Remarks
The difference between `MultipleRequest` and `FiniteSequenceRequest` is that the latter specifies the number of specimens requested.
`MultipleRelay` translates `MultipleRequest` instances to `FiniteSequenceRequest` instances.
Constructors
MultipleRequest(object)
Initializes a new instance of the MultipleRequest class.
public MultipleRequest(object request)Parameters
request object
A single request which will be multiplied.
Properties
Request
Gets the request to multiply.
public object Request { get; }Property Value
Methods
Equals(object)
Determines whether the specified Object is equal to this instance.
public override bool Equals(object obj)Parameters
obj object
The Object to compare with this instance.
Returns
true if obj is a MultipleRequest
instance which is equal to this instance; otherwise, false.
Equals(MultipleRequest)
Indicates whether the current MultipleRequest is equal to another
MultipleRequest instance.
public bool Equals(MultipleRequest other)Parameters
other MultipleRequest
An object to compare with this object.
Returns
true if the current MultipleRequest is equal to the
other parameter; otherwise, false.
GetHashCode()
Returns a hash code for this instance.
public override int GetHashCode()Returns
A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.