CacheTKey, TValueDisposeDroppedValues Property

Gets or sets whether internally dropped values are disposed if they implement IDisposable.
Default value: .

Definition

Namespace: KGySoft.Collections
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 9.0.0
C#
public bool DisposeDroppedValues { get; set; }

Property Value

Boolean

Remarks

If the value of this property is , then a disposable value will be disposed, if

  Note

In all cases when values are removed or replaced explicitly by the public members values are not disposed.

See Also