Aggiunta di XML a Asdoc Comments Comments in Flex?
-
14-11-2019 - |
Domanda
Come aggiungi il campione XML a Asdoc Funzione / Commenti di classe in Flex?Possono ovviamente essere aggiunti, ma non verranno visualizzati nei commenti Asdoc Hover in Flash Builder 4.
/**
* Generates a ChangeAccount in xml format when they are being saved
*
* <p>Will be in the following form
* Use http://xmlindent.com/ to view pretty xml format)
*
* <ChangeAccount History="w" Alias="transaction".............
* </p>
*
* @return XML
*/
public function get xml():XML
{
}
. Soluzione
Escape the '<' and '>' with & lt; and & gt; ( Note: remove the spaces )
& lt;ChangeAccount History="w" Alias="transaction"............. /& gt;
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow