ISystemClock Interface

Définition

Attention

Use TimeProvider instead.

Obtient l’horloge système pour faciliter le test.

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
Dérivé
Attributs

Propriétés

UtcNow
Obsolète.

Récupère l’heure système actuelle en heure UTC.

S’applique à