Class DisposableOptions
- Namespace
- Cuemon
- Assembly
- Cuemon.Core.dll
Configuration options for IDisposable.
public class DisposableOptions : IParameterObject
- Inheritance
-
DisposableOptions
- Implements
- Derived
Constructors
DisposableOptions()
Initializes a new instance of the DisposableOptions class.
public DisposableOptions()
Remarks
The following table shows the initial property values for an instance of DisposableOptions.
Property | Initial Value |
---|---|
LeaveOpen | false |
Properties
LeaveOpen
Gets or sets a value indicating whether a disposable object should bypass the mechanism for releasing unmanaged resources. Default is false
.
public bool LeaveOpen { get; set; }
Property Value
- Boolean
true
if a disposable object should bypass the mechanism for releasing unmanaged resources; otherwise,false
.