Class DelegateSpecification

Namespace: AutoFixture.Kernel
Assembly: AutoFixture.dll

A specification that evaluates specimen request to see if it's for the delegate type.

public class DelegateSpecification : IRequestSpecification

Inheritance

objectDelegateSpecification

Implements

IRequestSpecification

Inherited Members

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

Constructors

DelegateSpecification()

public DelegateSpecification()

Methods

IsSatisfiedBy(object)

Evaluates a request for a specimen.

public bool IsSatisfiedBy(object request)

Parameters

request object

The specimen request.

Returns

bool

true if request is of a delegate type, otherwise false.