Src/AutoFixture/RandomNumericSequenceCustomization.cs
/// <summary>
/// Customizes the specified fixture by adding a
/// <see cref="RandomNumericSequenceGenerator" />.
/// </summary>
/// <param name="fixture">The fixture to customize.</param>
/// <exception cref="System.ArgumentNullException">
/// fixture is null
/// </exception>
Customizes the specified fixture by adding a
.
Customizes the specified fixture by adding a .
public void Customize(IFixture fixture)
        {
            if (fixture == null) throw new ArgumentNullException(nameof(fixture));
            fixture.Customizations.Add(new RandomNumericSequenceGenerator());
        }
public void Customize ( IFixture fixture ) { if ( fixture == null ) throw new ArgumentNullException ( nameof ( fixture ) ) ; fixture . Customizations . Add ( new RandomNumericSequenceGenerator ( ) ) ; }
Customizes the specified fixture by adding a
.
Customizes the specified fixture by adding a .
fixture is null
fixture is null
fixture
IFixture
The fixture to customize.
The fixture to customize .