IronPython use C# module documentation

你。 提交于 2019-12-10 15:34:54

问题


I have a C# module which can be imported into IronPython (well, technically the all can, but one that's meant to be imported). However, the default help used for C# modules by IronPython just isn't sufficient enough.

Is there a way to grab and attach the VS exported xml documentation to a C# module with IronPython's help system? Or is there some way in the C# code to specify what IronPython should put in lieu of the default documentation?


回答1:


If the XML file is in the same location as the assembly and has the same filename just with ".xml" instead of ".exe" or ".dll" then IronPython should pick it up and include it in relevant doc strings for types, methods, etc...



来源:https://stackoverflow.com/questions/5428298/ironpython-use-c-sharp-module-documentation

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!