コード例 #1
0
 /// <summary>
 /// Determines whether [is value type] [the specified type name].
 /// </summary>
 /// <param name="TypeName">Name of the type.</param>
 /// <returns>
 ///     <c>true</c> if [is value type] [the specified type name]; otherwise, <c>false</c>.
 /// </returns>
 public bool IsValueType(string TypeName)
 {
     return(CodeGenerationUtils.IsValueType(TypeName));
 }
コード例 #2
0
 /// <summary>
 /// Liste des paramètres
 /// </summary>
 /// <param name="op">The op.</param>
 /// <returns></returns>
 public string GetParametersList(Operation op)
 {
     return(CodeGenerationUtils.GetParametersList(op));
 }
コード例 #3
0
 /// <summary>
 /// Formate les commentaires en mettant les caractères "///" devant chaque ligne
 /// </summary>
 /// <param name="indent">Indentation des lignes</param>
 /// <param name="comment">Commentaire</param>
 /// <returns></returns>
 public string FormatComment(string indent, string comment)
 {
     return(CodeGenerationUtils.FormatComment(indent, comment));
 }
コード例 #4
0
 /// <summary>
 /// Définition des paramètres avec leurs types
 /// </summary>
 /// <param name="op">The op.</param>
 /// <returns></returns>
 public string GetParametersDefinition(Operation op)
 {
     return(CodeGenerationUtils.GetParametersDefinition(op));
 }