Class NonFinalizeDisposable
This is a base class for Disposable. It implements the IDisposable interface as suggested in the .NET documentation using the Disposable pattern but it does not implement a finalizer. If you need finalization you need to derive from Disposable or add a finalizer to your derived class and manually call Dispose from the Finalizer.
Implements
System.IDisposable
Namespace: Syncfusion.UI.Xaml.Collections.ComponentModel
Assembly: Syncfusion.SfGrid.WPF.dll
Syntax
public class NonFinalizeDisposable : Object, IDisposable
Constructors
NonFinalizeDisposable()
Declaration
public NonFinalizeDisposable()
Methods
Dispose()
Releases all resources used by the Component.
Declaration
public void Dispose()
Dispose(Boolean)
Releases the unmanaged resources used by the Component and optionally releases the managed resources.
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing | true to release both managed and unmanaged resources; false to release only unmanaged resources. |
Remarks
See the documentation for the System.ComponentModel.Component class and its Dispose member.
Implements
System.IDisposable