public static void Run(IExample ex, int numero) { string path = @"c:\lammesoftHSM_Examples"; if (!Directory.Exists(path)) { Directory.CreateDirectory(path); } CSharpGenerator x = ex.Generator(); x.Nom = "lammesoftHSM.examples.ExampleEx" + numero; x.Path = path; x.GenerateCode(); GraphViz.ToGraphviz(dot, x.Nom, x.Path, x.level1, true, x.Startup, 10); }