SafeLLamaContextHandle
Namespace: LLama.Native
public class SafeLLamaContextHandle : SafeLLamaHandleBase, System.IDisposable
Inheritance Object → CriticalFinalizerObject → SafeHandle → SafeLLamaHandleBase → SafeLLamaContextHandle
Implements IDisposable
Properties
IsInvalid
public bool IsInvalid { get; }
Property Value
IsClosed
public bool IsClosed { get; }
Property Value
Constructors
SafeLLamaContextHandle(IntPtr)
public SafeLLamaContextHandle(IntPtr handle)
Parameters
handle
IntPtr
Methods
ReleaseHandle()
protected bool ReleaseHandle()