I started using Iron Python by following this example : How can I call (Iron)Python code from a C# app?
What I was wondering is the following : how can I tell IronPython which methods should be available to be called from a script whenever I get an object that is from a given namespace because I don't want to expose the full functionality of the namespace?
tl;dr : Say I have object A exposed to be created in my python script. How can I limit what A can do without explicitly having to move it to a new type?