Class DefaultEngineParts
Supplies ISpecimenBuilder instances that can be used to implement the default engine of AutoFixture.
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
Assembly: AutoFixture.dll
Syntax
public class DefaultEngineParts : DefaultRelays, IEnumerable<ISpecimenBuilder>, IEnumerable
Constructors
| Improve this Doc View SourceDefaultEngineParts()
Initializes a new instance of the DefaultEngineParts class with an instance of DefaultPrimitiveBuilders.
Declaration
public DefaultEngineParts()
DefaultEngineParts(ISpecimenBuilder[])
Initializes a new instance of the DefaultEngineParts class with the supplied array of ISpecimenBuilder.
Declaration
public DefaultEngineParts(params ISpecimenBuilder[] primitiveBuilders)
Parameters
Type | Name | Description |
---|---|---|
ISpecimenBuilder[] | primitiveBuilders | The builders to use instead of DefaultPrimitiveBuilders. |
DefaultEngineParts(IEnumerable<ISpecimenBuilder>)
Initializes a new instance of the DefaultEngineParts class with the supplied sequence of ISpecimenBuilder.
Declaration
public DefaultEngineParts(IEnumerable<ISpecimenBuilder> primitiveBuilders)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<ISpecimenBuilder> | primitiveBuilders | The builders to use instead of DefaultPrimitiveBuilders. |
Methods
| Improve this Doc View SourceGetEnumerator()
Returns an enumerator that iterates through the collection.
Declaration
public override IEnumerator<ISpecimenBuilder> GetEnumerator()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerator<ISpecimenBuilder> | A System.Collections.Generic.IEnumerator<T> that can be used to iterate through the collection. |
Overrides
Implements
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable