Share via


ISystemClock Interfaz

Definición

Precaución

Use TimeProvider instead.

Abstrae el reloj del sistema para facilitar las pruebas.

public interface class ISystemClock
public interface ISystemClock
[System.Obsolete("Use TimeProvider instead.")]
public interface ISystemClock
type ISystemClock = interface
[<System.Obsolete("Use TimeProvider instead.")>]
type ISystemClock = interface
Public Interface ISystemClock
Derivado
Atributos

Propiedades

UtcNow
Obsoletos.

Recupera la hora actual del sistema en formato UTC.

Se aplica a