Class FakeItEasyMethodQuery

Namespace: AutoFixture.AutoFakeItEasy
Assembly: AutoFixture.AutoFakeItEasy.dll

Selects appropriate methods to create Fake%601 instances.

public class FakeItEasyMethodQuery : IMethodQuery

Inheritance

objectFakeItEasyMethodQuery

Implements

IMethodQuery

Inherited Members

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

Constructors

FakeItEasyMethodQuery()

public FakeItEasyMethodQuery()

Methods

SelectMethods(Type)

Selects constructors for the supplied type.

public IEnumerable<IMethod> SelectMethods(Type type)

Parameters

type Type

The type.

Returns

IEnumerable<IMethod>

Constructors for type.

Remarks

This method returns a sequence of `StaticMethod` according to the public and protected constructors available on type.