3 implementations of ISystemClock
Microsoft.AspNetCore.Authentication.Certificate (1)
CertificateValidationCache.cs (1)
88private sealed class CachingClock : Extensions.Internal.ISystemClock
Microsoft.Extensions.Caching.Abstractions (1)
Internal\SystemClock.cs (1)
11public class SystemClock : ISystemClock
Microsoft.Extensions.Caching.Hybrid.Tests (1)
DistributedCacheTests.cs (1)
31internal sealed class FakeTime : TimeProvider, ISystemClock
11 references to ISystemClock
Microsoft.AspNetCore.Components.Server (4)
Circuits\DefaultInMemoryCircuitPersistenceProvider.cs (1)
25ISystemClock clock,
DependencyInjection\ComponentServiceCollectionExtensions.cs (3)
81services.TryAddSingleton<ISystemClock, SystemClock>(); 97var clock = serviceProvider.GetRequiredService<ISystemClock>();
Microsoft.Extensions.Caching.Hybrid.Tests (2)
DistributedCacheTests.cs (1)
47services.AddSingleton<ISystemClock>(Clock);
ExpirationTests.cs (1)
31services.AddSingleton<ISystemClock>(clock);
Microsoft.Extensions.Caching.Memory (1)
MemoryCacheOptions.cs (1)
24public ISystemClock? Clock { get; set; }
Microsoft.Extensions.Caching.SqlServer (4)
DatabaseOperations.cs (2)
32string connectionString, string schemaName, string tableName, ISystemClock systemClock) 49private ISystemClock SystemClock { get; }
SqlServerCache.cs (1)
25private readonly ISystemClock _systemClock;
SqlServerCacheOptions.cs (1)
18public ISystemClock SystemClock { get; set; } = new SystemClock();