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.
Inheritance
System.Object
NonFinalizeDisposable
Implements
System.IDisposable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.ComponentModel
Assembly: Syncfusion.Shared.Base.dll
Syntax
public class NonFinalizeDisposable : 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