Yes, I'm well aware of the other questions like this, but the other (almost the same) question is for an older version of NLua
.
Making the question simple, how do I completely sandbox Nlua
? I want a single class Foo
to be the only class available to Nlua
. How can I do this, either C# side or Lua side?
Note
Foo
will have methods that use other namespaces, I don't think it matters though.