2013-03-24 72 views
0

在C#中,我有一個類似如下的一些靜態只讀屬性:是否可以在Doxygen中隱藏屬性聲明?

/// Provides the thingie. 
public static readonly SomeClass Thingie = new SomeClass("Thingie Name"); 

較大的類中。 Doxygen在文檔中生成了一個靜態公共屬性部分(如預期的那樣),其中包含我確實需要的Thingie條目。然而,它也包括了聲明,就像這樣:

+--------------------------+-----------------------------------------+ 
|static readonly SomeClass | Thingie = new SomeClass("Thingie Name");| 
|       | Provides the thingie.     | 
+--------------------------+-----------------------------------------+ 

我只想隱藏= new SomeClass("Thingie Name");位。這可能嗎?

回答

0

您可以在配置文件中將MAX_INITIALIZER_LINES設置爲0以全局隱藏初始值設定項。

您還可以使用/** @cond */ thing to hide from doxygen /** @endcond */在本地隱藏某物。

相關問題