NLua.LuaBase Class Reference

Base class to provide consistent disposal flow across lua objects. More...

Inheritance diagram for NLua.LuaBase:
Collaboration diagram for NLua.LuaBase:

Public Member Functions

void Dispose ()
 
virtual void Dispose (bool disposeManagedResources)
 
override bool Equals (object o)
 
override int GetHashCode ()
 

Protected Attributes

int _Reference
 
Lua _Interpreter
 

Detailed Description

Base class to provide consistent disposal flow across lua objects.

Uses code provided by Yves Duhoux and suggestions by Hans Schmeidenbacher and Qingrui Li

Member Function Documentation

◆ Dispose() [1/2]

void NLua.LuaBase.Dispose ( )

◆ Dispose() [2/2]

virtual void NLua.LuaBase.Dispose ( bool  disposeManagedResources)
virtual

◆ Equals()

override bool NLua.LuaBase.Equals ( object  o)

◆ GetHashCode()

override int NLua.LuaBase.GetHashCode ( )

Member Data Documentation

◆ _Interpreter

Lua NLua.LuaBase._Interpreter
protected

◆ _Reference

int NLua.LuaBase._Reference
protected

The documentation for this class was generated from the following file: