سؤال

I searched everywhere from google to this site but seems no answer for it. Does anyone know if IronRuby supports clr class attributes? If yes, how?

Thanks in advance.

هل كانت مفيدة؟

المحلول

There's no way to apply CLR attributes in IronRuby today. IronPython support it experimentally with its clrtype module, which uses its own way of overriding the underlying .NET class for a Python object.

If one would want to implement this in IronRuby themselves, it'd be a large undertaking, but not impossible. If anyone is interesting, please ask about it on the mailing list to get started.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top