Doxygen with C# internal access modifier

前端 未结 6 1746
故里飘歌
故里飘歌 2021-02-19 10:27

I am using Doxygen to generate some API docs for a C# project I am working on. I have quite a bit of \"internal\" functionality in this project and don\'t want Doxygen producing

6条回答
  •  灰色年华
    2021-02-19 11:13

    This is an old entry, but I had the same issue.

    A method that works for me is to simply use the 'predefine' feature of doxygen. If you predefine 'internal=private' (which is equivalent to doing a '#define internal private') then Doxygen will see all 'internal' properties as 'private' - and so ignore them if requested.

    It's a kludge -but it works.

提交回复
热议问题