Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何使用 IronPython 从 .NET 程序集中获取 XML 文档字符串?使用' _ doc _ '似乎不是办法。
MessageBox.Show(Label().Bottom.__doc__) returns "Represents a 32bit signed integer."
如何获取实际的文档字符串,应该是“获取底部边缘之间的距离,以像素为单位......”
我刚刚发现您需要将 XML 文档与 exe、dll 放在同一目录中,它会被 IronPython 拾取。看这里:
IronPython 使用 C# 模块文档