Class MultipleRequest
Represents a request for many (an unspecified number) of specimens.
Inheritance
Implements
Inherited Members
Namespace: AutoFixture.Kernel
Assembly: AutoFixture.dll
Syntax
public class MultipleRequest : IEquatable<MultipleRequest>
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
| Improve this Doc View SourceMultipleRequest(Object)
Initializes a new instance of the MultipleRequest class.
Declaration
public MultipleRequest(object request)
Parameters
Type | Name | Description |
---|---|---|
System.Object | request | A single request which will be multiplied. |
Properties
| Improve this Doc View SourceRequest
Gets the request to multiply.
Declaration
public object Request { get; }
Property Value
Type | Description |
---|---|
System.Object |
Methods
| Improve this Doc View SourceEquals(MultipleRequest)
Indicates whether the current MultipleRequest is equal to another MultipleRequest instance.
Declaration
public bool Equals(MultipleRequest other)
Parameters
Type | Name | Description |
---|---|---|
MultipleRequest | other | An object to compare with this object. |
Returns
Type | Description |
---|---|
System.Boolean | true if the current MultipleRequest is equal to the
|
Equals(Object)
Determines whether the specified System.Object is equal to this instance.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj | The System.Object to compare with this instance. |
Returns
Type | Description |
---|---|
System.Boolean | true if |
Overrides
GetHashCode()
Returns a hash code for this instance.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. |