Autre logiciel disponible : doxygen qui permet de generer en xml, html ...
pour chaque methode tu dois avoir des balises ///<summary>
/// description breve
///</summary>
au minimum.
Exemple :
namespace SimulatorClient
{
/// <summary>
/// Main Windows
/// </summary>
publicpartial class MainWindows : Form
{
#region Variable
/// <summary>
/// Variable to communicate with Nadas Server
/// </summary>
private NADASClass talin1 = new NADASClass();
/// <summary>
/// Variable to handle with the data
/// </summary>
private simulationData dataFromFile = new simulationData();
/// <summary>
/// Variable to know if the simulation is started or not
/// </summary>
private bool started = false;
/// <summary>
///Variable to know if the simulation is paused or not
/// </summary>
private bool paused = false;
#endregion
/// <summary>
/// Constuctor for the main Windows
/// </summary>
///
/// public MainWindows()
/// {
/// InitializeComponent();
/// // initialize the Nadas server
/// NadasInitialization();
/// // in the beginning the simulation is stopped
/// started = false;
/// // rapidity is set at one data per second
/// timer1.Interval = 1000;
/// }
///
public MainWindows()
{
InitializeComponent();
// initialize the Nadas server
NadasInitialization();
// in the beginning the simulation is stopped
started = false;
// rapidity is set at one data per second
timer1.Interval = 1000;
}
/// <summary>
/// Function called by the speed form
/// </summary>
///
/// number of data per second
///
///
/// if (value != 0)
///{
/// timer1.Interval = 1000 / value;
/// speedLabel.Text = value.ToString();
///}
///
public void changeSpeed(int value)
{
if (value != 0)
{
timer1.Interval= 1000 / value;
speedLabel.Text = value.ToString();
}
}