Class SupportMutableValueTypesCustomization

Namespace: AutoFixture
Assembly: AutoFixture.dll

A customization that changes how custom struct are generated. Uses MutableValueTypeGenerator.

public class SupportMutableValueTypesCustomization : ICustomization

Inheritance

objectSupportMutableValueTypesCustomization

Implements

ICustomization

Inherited Members

object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Constructors

SupportMutableValueTypesCustomization()

public SupportMutableValueTypesCustomization()

Methods

Customize(IFixture)

Customizes specified fixture by adding MutableValueTypeGenerator as a default strategy for creating new custom struct that has only default constructor.

public void Customize(IFixture fixture)

Parameters

fixture IFixture

The fixture to customize.