次の方法で共有


ISystemClock Interface

Definition

Abstracts the system clock to facilitate testing.

public interface class ISystemClock
public interface ISystemClock
type ISystemClock = interface
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