Class SeededRequest

Namespace: AutoFixture.Kernel
Assembly: AutoFixture.dll

Encapsulates a seed for a given type.

public class SeededRequest : IEquatable<SeededRequest>

Inheritance

objectSeededRequest

Implements

IEquatable<SeededRequest>

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

object

Seed

Gets the seed value.

public object Seed { get; }

Property Value

object

Methods

Equals(object)

Determines whether this instance equals another instance.

public override bool Equals(object obj)

Parameters

obj object

The other instance.

Returns

bool

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

bool

true if this instance equals other; otherwise, false.

GetHashCode()

Returns the hash code for the instance.

public override int GetHashCode()

Returns

int

The hash code for the instance.