Class IncrementingDateTimeCustomization
A customization that enables System.DateTime specimens to be based on an incrementing sequence of days starting from System.DateTime.Now.
Inheritance
System.Object
IncrementingDateTimeCustomization
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 IncrementingDateTimeCustomization : ICustomization
Remarks
This customization reproduces the generation strategy for System.DateTime specimens used in AutoFixture up to version 3.0.
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. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException |
|