Class FiniteSequenceRequest
Signals that many similar instances are requested.
Inheritance
Implements
Inherited Members
Namespace: AutoFixture.Kernel
Assembly: AutoFixture.dll
Syntax
public class FiniteSequenceRequest : IEquatable<FiniteSequenceRequest>
Constructors
| Improve this Doc View SourceFiniteSequenceRequest(Object, Int32)
Initializes a new instance of the FiniteSequenceRequest class.
Declaration
public FiniteSequenceRequest(object request, int count)
Parameters
Type | Name | Description |
---|---|---|
System.Object | request | The underlying request to multiply. |
System.Int32 | count | The number of instances requested. |
Methods
| Improve this Doc View SourceCreateRequests()
Creates many requests from the underlying requests.
Declaration
public IEnumerable<object> CreateRequests()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.Object> | A number of similar requests. |
Equals(FiniteSequenceRequest)
Indicates whether the current object is equal to another object of the same type.
Declaration
public bool Equals(FiniteSequenceRequest other)
Parameters
Type | Name | Description |
---|---|---|
FiniteSequenceRequest | other | An object to compare with this object. |
Returns
Type | Description |
---|---|
System.Boolean | true if |
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 the specified System.Object is equal to this instance; otherwise, false. |
Overrides
Exceptions
Type | Condition |
---|---|
System.NullReferenceException | The |
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. |