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

IClock Members

The IClock type exposes the following members.

Methods


  Name Description
Public method Equals(System.Object) (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Properties


  Name Description
Public property Static member Instance
Gets or sets the current instance of IClock, enabling the ability to simulate time in unit tests or time-sensitive integration tests. Note: This property is not available in .NET Standard 2.0.
Public property Now
Gets the current local date and time.
Public property UtcNow
Gets the current UTC date and time.