SQLProvider

DesignCacheEntry Type

One generation of provided types for one set of static parameters. Reference equality so that ConcurrentDictionary.TryUpdate swaps compare generations, not their (concurrently mutated) field values.

Record fields

Record Field Description

LastAccess

Full Usage: LastAccess

Field type: int64
Modifiers: mutable

Last access in UTC ticks. Updated lock-free on every instantiation request; entries idle longer than the expiration are dropped to free memory.

Field type: int64

Refreshing

Full Usage: Refreshing

Field type: int
Modifiers: mutable

1 while a background refresh build is in flight: at most one refresh per entry, no matter how many Visual Studio threads request the type concurrently.

Field type: int

Root

Full Usage: Root

Field type: Lazy<ProvidedTypeDefinition * DateTime * TimeSpan>

The provided root type, when it was built, and how old the build may get before a background refresh is started (adapted to build duration on slow systems).

Field type: Lazy<ProvidedTypeDefinition * DateTime * TimeSpan>

Type something to start searching.