Aracılığıyla paylaş


SystemClock Sınıf

Tanım

Dikkat

Use TimeProvider instead.

Saniyeler içinde hassas bir şekilde normal sistem saatine erişim sağlar.

public ref class SystemClock : Microsoft::AspNetCore::Authentication::ISystemClock
public class SystemClock : Microsoft.AspNetCore.Authentication.ISystemClock
[System.Obsolete("Use TimeProvider instead.")]
public class SystemClock : Microsoft.AspNetCore.Authentication.ISystemClock
type SystemClock = class
    interface ISystemClock
[<System.Obsolete("Use TimeProvider instead.")>]
type SystemClock = class
    interface ISystemClock
Public Class SystemClock
Implements ISystemClock
Devralma
SystemClock
Öznitelikler
Uygulamalar

Oluşturucular

SystemClock()
Geçersiz.

Geçerli sistem saatini okuyan yeni bir SystemClock oluşturur.

Özellikler

UtcNow
Geçersiz.

Geçerli sistem saatini UTC olarak alır.

Şunlara uygulanır