Open sandboxFocus

Property VerifyGraphBeforeDisposing

VerifyGraphBeforeDisposing

Gets or sets a value indicating whether to verify the dependency graph consistency before disposing. When enabled, CleanUpAsync(CacheCleanupOptions, CancellationToken) is called during disposal to detect any graph defects, which are reported through the OnGraphDefect(GraphDefectArgs) callback. The default value is false. This is primarily intended for testing.

Declaration
public bool VerifyGraphBeforeDisposing { get; init; }
Property Value
Type Description
bool