Class RequestTraceEventArgs

Namespace: AutoFixture.Kernel
Assembly: AutoFixture.dll

Event args about a request for a specimen.

public class RequestTraceEventArgs : EventArgs

Inheritance

objectEventArgsRequestTraceEventArgs

Derived

SpecimenCreatedEventArgs

Inherited Members

EventArgs.Empty, object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Constructors

RequestTraceEventArgs(object, int)

Initializes a new instance of the RequestTraceEventArgs class with the supplied values.

public RequestTraceEventArgs(object request, int depth)

Parameters

request object

A request for a specimen.

depth int

The recursion depth at which request occurred.

Properties

Depth

Gets the recursion depth at which Request occurred.

public int Depth { get; }

Property Value

int

Request

Gets the original request for a specimen.

public object Request { get; }

Property Value

object