WALTER | Workable Algorithms for Location-aware Transmission, Encryption Response

TestClock Members

The TestClock type exposes the following members.

Constructors


  Name Description
Public method TestClock
Initializes a new instance of the TestClock class.

Methods


  Name Description
Public method Add
Adds the specified duration to the current time of the clock.
Public method 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.
Protected method Dispose(Boolean) (Inherited from LicenseBase.)
Public method Dispose()()()()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from LicenseBase.)
Public method Equals(System.Object) (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Protected method GetIsLicensed (Inherited from LicenseBase.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method Query
Queries the license for the type's assembly.
(Inherited from LicenseBase.)
Protected method QueryLicenseStatus (Inherited from LicenseBase.)
Public method Set
Sets the clock to a specified date and time. Assumes the DateTimeKind of the provided dateTime. If unspecified, DateTimeKind.Local is assumed.
Public method ToString (Inherited from Object.)

Properties


  Name Description
Public property Now
Gets the local date and time of the clock.
Public property UtcNow
Gets the UTC date and time of the clock.
Protected property Validater (Inherited from LicenseBase.)