Class SeededRequest
Namespace: AutoFixture.Kernel
Assembly: AutoFixture.dll
Encapsulates a seed for a given type.
public class SeededRequest : IEquatable<SeededRequest>Inheritance
Implements
Inherited Members
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
SeededRequest(object, object)
Initializes a new instance of the Seed class.
public SeededRequest(object request, object seed)Parameters
request object
The request for which the seed applies.
seed object
The seed.
Properties
Request
Gets the inner request for which the seed applies.
public object Request { get; }Property Value
Seed
Gets the seed value.
public object Seed { get; }Property Value
Methods
Equals(object)
Determines whether this instance equals another instance.
public override bool Equals(object obj)Parameters
obj object
The other instance.
Returns
true if this instance equals obj; otherwise,
false.
Equals(SeededRequest)
Determines whether this instance equals another instance.
public bool Equals(SeededRequest other)Parameters
other SeededRequest
The other instance.
Returns
true if this instance equals other; otherwise,
false.
GetHashCode()
Returns the hash code for the instance.
public override int GetHashCode()Returns
The hash code for the instance.