ISystemClock Interface

Definition

Abstracts the system clock to facilitate testing.

C#
public interface ISystemClock
Derived

Remarks

This API supports the .NET infrastructure and is not intended to be used directly from your code.

Properties

UtcNow

Retrieves the current system time in UTC.

Applies to

Toode Versioonid
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Standard 2.0 (package-provided)