Just got Swig working converting some classes from C++ -> C# and I'm loving it! Way to go.

First of many questions to come.

I'd like to add a portion of code to all the c# classes that I create <See below>.
This way I can improve the memory management of the class.
I know I can do this with the "%typemap(cscode) Container %{ ...." code but this only works for the 'Container'
class and I'd like it to be included in ALL classes. Is there a way I can inject a portion of code into
all classes that I wrap?

Example code for injection:

public IntPtr Data
    {
        get
        {
            return this.swigCPtr.Handle;
        }
    }