C# Class Realms.RealmHandle

Inheritance: Microsoft.Win32.SafeHandles.SafeHandleZeroOrMinusOneIsInvalid
Mostrar archivo Open project: realm/realm-dotnet Class Usage Examples

Public Methods

Method Description
ToString ( ) : string

Protected Methods

Method Description
Unbind ( ) : void

Override Unbind and put in code that actually calls core and unbinds whatever this handle is about. when this is called, it has already been verified that it is safe to call core - so just put in code that does the job.

Private Methods

Method Description
GetUnbindList ( ) : List
LockAndUndbindList ( ) : void
RealmHandle ( ) : System
RealmHandle ( RealmHandle root ) : System
ReleaseHandle ( ) : bool
RequestUnbind ( RealmHandle handleToUnbind ) : void

Called by children to this root, when they would like to be unbound, but are (possibly) running in a finalizer thread so it is (possibly) not safe to unbind then directly.

SetHandle ( IntPtr someHandle ) : void
UnbindLockedList ( ) : void

Method Details

ToString() public method

public ToString ( ) : string
return string

Unbind() protected abstract method

Override Unbind and put in code that actually calls core and unbinds whatever this handle is about. when this is called, it has already been verified that it is safe to call core - so just put in code that does the job.
protected abstract Unbind ( ) : void
return void