Вопрос

How do you get the XML documentation strings from .NET assemblies using IronPython? Using '_doc_' doesn't seem to be the way.

MessageBox.Show(Label().Bottom.__doc__) returns "Represents a 32bit signed integer."

How do I get the actual doc string, which should be "get the distance, in pixels, between the bottom edge..."

Это было полезно?

Решение

I just found out that you need to have the XML documentation in the same directory as the exe, dll and it will be picked up by IronPython. See here:

IronPython use C# module documentation

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top