C# Class Klawr.ClrHost.Managed.SafeHandles.UObjectHandle

Encapsulates a native UObject pointer and takes care of properly disposing of it.
Inheritance: System.Runtime.InteropServices.SafeHandle
Afficher le fichier Open project: Algorithman/klawr Class Usage Examples

Méthodes publiques

Свойство Type Description
Null UObjectHandle

Méthodes publiques

Méthode Description
Equals ( object obj ) : bool

Equality is determined by the equality of the encapsulated IntPtr.

GetHashCode ( ) : int
UObjectHandle ( ) : System

Construct a new handle.

This constructor is used by the interop code, user code should not invoke it.

UObjectHandle ( IntPtr nativeObject, bool ownsHandle ) : System

Construct a new handle to a native UObject instance. This constructor is currently only used to construct IScriptObject(s).

Méthodes protégées

Méthode Description
ReleaseHandle ( ) : bool

Method Details

Equals() public méthode

Equality is determined by the equality of the encapsulated IntPtr.
public Equals ( object obj ) : bool
obj object UObjectHandle to compare with.
Résultat bool

GetHashCode() public méthode

public GetHashCode ( ) : int
Résultat int

ReleaseHandle() protected méthode

protected ReleaseHandle ( ) : bool
Résultat bool

UObjectHandle() public méthode

Construct a new handle.
This constructor is used by the interop code, user code should not invoke it.
public UObjectHandle ( ) : System
Résultat System

UObjectHandle() public méthode

Construct a new handle to a native UObject instance. This constructor is currently only used to construct IScriptObject(s).
public UObjectHandle ( IntPtr nativeObject, bool ownsHandle ) : System
nativeObject System.IntPtr Pointer to a native UObject instance.
ownsHandle bool true if the handle should release the native object when /// disposed, false otherwise
Résultat System

Property Details

Null public_oe static_oe property

Encapsulates a native null pointer.
public static UObjectHandle,Klawr.ClrHost.Managed.SafeHandles Null
Résultat UObjectHandle