Se scrivo la funzione:È possibile aggiornare un commento XML in Visual Studio per riflettere i parametri che sono stati modificati?
public static uint FindAUint(double firstParam)
{
}
posso generare i commenti XML digitando '///', dà:
/// <summary>
/// *Here I type the summary of the method*
/// </summary>
/// <param name="firstParam">*Summary of param*</param>
/// <returns>*Summary of return*</returns>
public static uint FindAUint(double firstParam)
{
}
Se dunque io decido che devo aggiornare il mio metodo per essere:
/// <summary>
/// *Here I type the summary of the method*
/// </summary>
/// <param name="firstParam">*Summary of param*</param>
/// <returns>*Summary of return*</returns>
public static uint FindAUint(double firstParam,double newParam, double newParam2)
{
}
c'è un modo per ottenere visual Studio per aggiungere le nuove params in XML, senza perdere le descrizioni dei precedenti?
(Devo dire che sto usando Visual Studio Express, io non la metterei passato a Microsoft di non consentire la funzionalità nella versione espresso però)
AFAIK, stai usando solo VS, devi inserirli manualmente –
Se digiti ' qJake