Class RandomRangedNumberCustomization
A customization that enables numeric specimens to be random and unique per equivalence set of type and range limits.
Inheritance
System.Object
RandomRangedNumberCustomization
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
[Obsolete("The RandomRangedNumberGenerator is now used by default, therefore this customization is no longer needed and will be removed in future versions of AutoFixture.")]
public class RandomRangedNumberCustomization : ICustomization
Methods
| Improve this Doc View SourceCustomize(IFixture)
Customizes the specified fixture by adding a RandomRangedNumberGenerator.
Declaration
public void Customize(IFixture fixture)
Parameters
Type | Name | Description |
---|---|---|
IFixture | fixture | The fixture to customize. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | fixture is null. |