Constructor InMemoryStorage
InMemoryStorage(TimeProvider?)
Creates an empty store.
public InMemoryStorage(TimeProvider? time = null)
Parameters
timeTimeProvider
Remarks
time defaults to System. Every lease expiry,
due check and claim in here reads through it and nothing reads the clock any other way —
which is what lets a test advance an hour rather than wait one, and why the conformance
suite can make time-travel assertions at all.