TestClock Methods
The TestClock type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
|
|
Add |
Adds the specified duration to the current time of the clock.
|
|
|
AddSeconds |
Adds the specified number of seconds to the current time of the clock.
Can be used with a negative value to simulate time going backwards.
|
|
|
Dispose(Boolean) | (Inherited from LicenseBase.) |
|
|
Dispose()()()() |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from LicenseBase.) |
|
|
Equals(System.Object) | (Inherited from Object.) |
|
|
Finalize | (Inherited from Object.) |
|
|
GetHashCode | (Inherited from Object.) |
|
|
GetIsLicensed | (Inherited from LicenseBase.) |
|
|
GetType | (Inherited from Object.) |
|
|
MemberwiseClone | (Inherited from Object.) |
|
|
Query |
Queries the license for the type's assembly.
(Inherited from LicenseBase.) |
|
|
QueryLicenseStatus | (Inherited from LicenseBase.) |
|
|
Set |
Sets the clock to a specified date and time.
Assumes the DateTimeKind of the provided dateTime. If unspecified, DateTimeKind.Local is assumed.
|
|
|
ToString | (Inherited from Object.) |

