Interface ISpecimenBuilderTransformation
Transforms ISpecimenBuilder instance into ISpecimenBuilderNode.
Namespace: AutoFixture.Kernel
Assembly: AutoFixture.dll
Syntax
public interface ISpecimenBuilderTransformation
Methods
| Improve this Doc View SourceTransform(ISpecimenBuilder)
Transforms the supplied builder into another.
Declaration
ISpecimenBuilderNode Transform(ISpecimenBuilder builder)
Parameters
Type | Name | Description |
---|---|---|
ISpecimenBuilder | builder | The builder to transform. |
Returns
Type | Description |
---|---|
ISpecimenBuilderNode | A new ISpecimenBuilderNode created from |
Remarks
Note to implementers: In most scenarios, the transformation is expected to maintain
behavior of builder
; usually by applying a Decorator.