private static void AddUsings() { Usings.ForEach(s => { _builder.AppendLine(s); }); _builder.AppendLine(""); }
protected string PrintUsings() { var sb = new StringBuilder(); Usings.ForEach(u => sb.AppendLine($"using {u};")); sb.AppendEmptyLine(); return(sb.ToString()); }
public override string ToString() { var output = "using System;"; Usings.ForEach(us => { output += "using " + us + ";" + Environment.NewLine; }); output += Environment.NewLine + Environment.NewLine; output += "namespce " + NameSpace + Environment.NewLine + "{" + Environment.NewLine + "\t"; output += "public class " + ClassName + Environment.NewLine + "\t{"; return(output); }