Class NoAutoPropertiesCustomization
Namespace: AutoFixture
Assembly: AutoFixture.dll
A customization that will turn off the auto population of properties on the target type.
public class NoAutoPropertiesCustomization : ICustomizationInheritance
object ← NoAutoPropertiesCustomization
Implements
Inherited Members
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
NoAutoPropertiesCustomization(Type)
Initializes a new instance of the NoAutoPropertiesCustomization class.
public NoAutoPropertiesCustomization(Type targetType)Parameters
targetType Type
The Type to disable auto population of properties.
Exceptions
targetType is null.
Methods
Customize(IFixture)
Customizes the fixture by creating a targetType that has no auto populated properties.
public void Customize(IFixture fixture)Parameters
fixture IFixture
The fixture to customize.
Exceptions
fixture is null.