Here's an implementation idea that may require less work at the expense of
less-elegant syntax.

class X(object, clr.AttributeBase(System.SerializableAttribute))
    pass

NewTypeMaker would look for base classes of whatever built-in type is
returned by clr.AttributeBase and would use that information to decorate the
generated type.

--
Curt Hagenlocher
[EMAIL PROTECTED]
_______________________________________________
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to