Class CompositeCustomization
Customizes an IFixture by using all contained Customizations.
Inheritance
System.Object
CompositeCustomization
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
Assembly: AutoFixture.dll
Syntax
public class CompositeCustomization : ICustomization
Constructors
| Improve this Doc View SourceCompositeCustomization(ICustomization[])
Initializes a new instance of the CompositeCustomization class.
Declaration
public CompositeCustomization(params ICustomization[] customizations)
Parameters
Type | Name | Description |
---|---|---|
ICustomization[] | customizations | The customizations. |
CompositeCustomization(IEnumerable<ICustomization>)
Initializes a new instance of the CompositeCustomization class.
Declaration
public CompositeCustomization(IEnumerable<ICustomization> customizations)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<ICustomization> | customizations | The customizations. |
Properties
| Improve this Doc View SourceCustomizations
Gets the customizations contained within this instance.
Declaration
public IEnumerable<ICustomization> Customizations { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<ICustomization> |
Methods
| Improve this Doc View SourceCustomize(IFixture)
Customizes the specified fixture.
Declaration
public void Customize(IFixture fixture)
Parameters
Type | Name | Description |
---|---|---|
IFixture | fixture | The fixture to customize. |