Class Disposable
Definition
- Assembly:
- Tizen.NUI.dll
Disposable class.
public class Disposable : System.IDisposable
- Inheritance
-
objectDisposable
- Derived
Constructors
View SourceDisposable()
Create an instance of Disposable.
Declaration
public Disposable()
Disposable(IntPtr, bool)
Declaration
public Disposable(System.IntPtr cPtr, bool cMemoryOwn)
Parameters
Type | Name | Description |
---|---|---|
System.IntPtr | cPtr | |
bool | cMemoryOwn |
Fields
View Sourcedisposed
The flag to check if it is already disposed of.
Declaration
protected bool disposed
Field Value
Type | Description |
---|---|
bool |
Properties
View SourceDisposed
The flag to check if it is already disposed of.
Declaration
protected bool Disposed { get; }
Property Value
Type | Description |
---|---|
bool |
IsDisposeQueued
The flag to check if it is disposed by DisposeQueue.
Declaration
protected bool IsDisposeQueued { get; }
Property Value
Type | Description |
---|---|
bool |
Methods
View SourceDispose()
Dispose.
Declaration
public void Dispose()
Dispose(bool)
Hidden API (Inhouse API). Dispose.
Declaration
protected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
bool | disposing | true in order to free managed objects |
Remarks
Following the guide of https://docs.microsoft.com/en-us/dotnet/standard/garbage-collection/implementing-dispose. This will replace "protected virtual void Dispose(DisposeTypes type)" which is exactly same in functionality.
Dispose(DisposeTypes)
Dispose.
Declaration
protected virtual void Dispose(DisposeTypes type)
Parameters
Type | Name | Description |
---|---|---|
DisposeTypes | type |
~Disposable()
Dispose.
Declaration
protected ~Disposable()
ReleaseSwigCPtr(HandleRef)
Release swigCPtr.
Declaration
protected virtual void ReleaseSwigCPtr(Runtime.InteropServices.HandleRef swigCPtr)
Parameters
Type | Name | Description |
---|---|---|
Tizen.System.Runtime.InteropServices.HandleRef | swigCPtr |