Class RhinoMockConstructorQuery

Namespace: AutoFixture.AutoRhinoMock
Assembly: AutoFixture.AutoRhinoMock.dll

Selects appropriate constructors to create mock instances with Rhino Mocks.

public class RhinoMockConstructorQuery : IMethodQuery

Inheritance

objectRhinoMockConstructorQuery

Implements

IMethodQuery

Inherited Members

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

Constructors

RhinoMockConstructorQuery()

public RhinoMockConstructorQuery()

Methods

SelectMethods(Type)

Selects the 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 `RhinoMockConstructorMethod` according to the public and protected constructors available on type.