質問

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