Class SeededRequest
Encapsulates a seed for a given type.
Inheritance
System.Object
SeededRequest
Implements
System.IEquatable<SeededRequest>
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 SeededRequest : IEquatable<SeededRequest>
Constructors
| Improve this Doc View SourceSeededRequest(Object, Object)
Initializes a new instance of the Seed class.
Declaration
public SeededRequest(object request, object seed)
Parameters
Type | Name | Description |
---|---|---|
System.Object | request | The request for which the seed applies. |
System.Object | seed | The seed. |
Properties
| Improve this Doc View SourceRequest
Gets the inner request for which the seed applies.
Declaration
public object Request { get; }
Property Value
Type | Description |
---|---|
System.Object |
Seed
Gets the seed value.
Declaration
public object Seed { get; }
Property Value
Type | Description |
---|---|
System.Object |
Methods
| Improve this Doc View SourceEquals(SeededRequest)
Determines whether this instance equals another instance.
Declaration
public bool Equals(SeededRequest other)
Parameters
Type | Name | Description |
---|---|---|
SeededRequest | other | The other instance. |
Returns
Type | Description |
---|---|
System.Boolean | true if this instance equals |
Equals(Object)
Determines whether this instance equals another instance.
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj | The other instance. |
Returns
Type | Description |
---|---|
System.Boolean | true if this instance equals |
Overrides
System.Object.Equals(System.Object)
|
Improve this Doc
View Source
GetHashCode()
Returns the hash code for the instance.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | The hash code for the instance. |
Overrides
System.Object.GetHashCode()
Implements
System.IEquatable<T>