Class CompositeMethodQuery
An implementation of IMethodQuery that composes other IMethodQuery instances.
Inheritance
System.Object
CompositeMethodQuery
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: AutoFixture.Kernel
Assembly: AutoFixture.dll
Syntax
public class CompositeMethodQuery : IMethodQuery
Constructors
| Improve this Doc View SourceCompositeMethodQuery(IMethodQuery[])
Initializes a new instance of the CompositeMethodQuery class.
Declaration
public CompositeMethodQuery(params IMethodQuery[] queries)
Parameters
Type | Name | Description |
---|---|---|
IMethodQuery[] | queries | The queries. |
CompositeMethodQuery(IEnumerable<IMethodQuery>)
Initializes a new instance of the CompositeMethodQuery class.
Declaration
public CompositeMethodQuery(IEnumerable<IMethodQuery> queries)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<IMethodQuery> | queries | The queries. |
Properties
| Improve this Doc View SourceQueries
Gets the queries supplied through one of the constructors.
Declaration
public IEnumerable<IMethodQuery> Queries { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<IMethodQuery> |
Methods
| Improve this Doc View SourceSelectMethods(Type)
Selects the methods for the supplied type.
Declaration
public IEnumerable<IMethod> SelectMethods(Type type)
Parameters
Type | Name | Description |
---|---|---|
System.Type | type | The type. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<IMethod> | Methods for |