次の方法で共有


Microsoft.Extensions.Time.Testing Namespace

Classes

FakeTimeProvider

Represents a synthetic time provider that can be used to enable deterministic behavior in tests.