Microsoft.Extensions.Internal Namespace

Contains types that provide access to the system clock and that abstract the system clock for testing purposes.

Classes

GcNotification

Registers a callback that fires each time a Gen2 garbage collection occurs, presumably due to memory pressure. For this to work no components can have a reference to the instance.

SystemClock

Provides access to the normal system clock.

Interfaces

ISystemClock

Abstracts the system clock to facilitate testing.