Class SpecimenCreatedEventArgs
Namespace: AutoFixture.Kernel
Assembly: AutoFixture.dll
Event arguments about a created specimen.
public class SpecimenCreatedEventArgs : RequestTraceEventArgsInheritance
object ← EventArgs ← RequestTraceEventArgs ← SpecimenCreatedEventArgs
Inherited Members
RequestTraceEventArgs.Depth, RequestTraceEventArgs.Request, EventArgs.Empty, object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
SpecimenCreatedEventArgs(object, object, int)
Initializes a new instance of the SpecimenCreatedEventArgs class with the
supplied values.
public SpecimenCreatedEventArgs(object request, object specimen, int depth)Parameters
request object
A request for a specimen.
specimen object
The specimen that was created base on request.
depth int
The recursion depth at which request occurred.
Properties
Specimen
Gets the specimen that was created from Request.
public object Specimen { get; }