Class OmitFixtureSpecification

Namespace: AutoFixture.Kernel
Assembly: AutoFixture.dll

A specification which omits the Fixture and IFixture types.

public class OmitFixtureSpecification : IRequestSpecification

Inheritance

objectOmitFixtureSpecification

Implements

IRequestSpecification

Inherited Members

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

Constructors

OmitFixtureSpecification()

public OmitFixtureSpecification()

Methods

IsSatisfiedBy(object)

Evaluates whether or not the request is for a fixture type.

public bool IsSatisfiedBy(object request)

Parameters

request object

The specimen request.

Returns

bool

false if the request is for a fixture type; false otherwise.