Skip to content

SafeLLamaContextHandle

Namespace: LLama.Native

public class SafeLLamaContextHandle : SafeLLamaHandleBase, System.IDisposable

Inheritance ObjectCriticalFinalizerObjectSafeHandleSafeLLamaHandleBaseSafeLLamaContextHandle
Implements IDisposable

Properties

IsInvalid

public bool IsInvalid { get; }

Property Value

Boolean

IsClosed

public bool IsClosed { get; }

Property Value

Boolean

Constructors

SafeLLamaContextHandle(IntPtr)

public SafeLLamaContextHandle(IntPtr handle)

Parameters

handle IntPtr

Methods

ReleaseHandle()

protected bool ReleaseHandle()

Returns

Boolean