public CodeTraverser(Solution solution, Settings settings) { if (solution == null) throw new ArgumentNullException("solution"); if (settings == null) throw new ArgumentNullException("settings"); Solution = solution; this.Settings = settings; }
public CodeGenerator(Project project, Settings settings) { if (project == null) throw new ArgumentNullException("project"); if (settings == null) throw new ArgumentNullException("settings"); this.Project = project; this.Settings = settings; }
public static string GetOutput(List<TypeScriptModule> modules, Settings settings) { var output = new StringBuilder(); output.AppendLine("/****************************************************************************"); output.AppendLine(" Generated by T4TS.tt - don't make any changes in this file"); output.AppendLine("****************************************************************************/"); var moduleAppender = new ModuleOutputAppender(output, 0, settings); foreach (var module in modules) { output.AppendLine(); moduleAppender.AppendOutput(module); } return output.ToString(); }
public TypeContext(Settings settings) { this.Settings = settings; }
public TypeContext(Settings settings) { Settings = settings; }