Class CompositeMethodQuery

Namespace: AutoFixture.Kernel
Assembly: AutoFixture.dll

An implementation of IMethodQuery that composes other IMethodQuery instances.

public class CompositeMethodQuery : IMethodQuery

Inheritance

objectCompositeMethodQuery

Implements

IMethodQuery

Inherited Members

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

Constructors

CompositeMethodQuery(IEnumerable<IMethodQuery>)

Initializes a new instance of the CompositeMethodQuery class.

public CompositeMethodQuery(IEnumerable<IMethodQuery> queries)

Parameters

queries IEnumerable<IMethodQuery>

The queries.

CompositeMethodQuery(params IMethodQuery[])

Initializes a new instance of the CompositeMethodQuery class.

public CompositeMethodQuery(params IMethodQuery[] queries)

Parameters

queries IMethodQuery[]

The queries.

Properties

Queries

Gets the queries supplied through one of the constructors.

public IEnumerable<IMethodQuery> Queries { get; }

Property Value

IEnumerable<IMethodQuery>

Methods

SelectMethods(Type)

Selects the methods for the supplied type.

public IEnumerable<IMethod> SelectMethods(Type type)

Parameters

type Type

The type.

Returns

IEnumerable<IMethod>

Methods for type.