public static string GetTemplateSource(IEnumerable CI, PrintOptions printOptions) { if (CI == null) { return(""); } StringWriter fs = new StringWriter(); GraphMaster.PrintToWriter(CI, printOptions, fs, null, TimeSpan.Zero); return(fs.ToString()); }
public static void PrintTemplates(IEnumerable CI, OutputDelegate console, PrintOptions printOptions, TimeSpan sleepBetween) { GraphMaster.PrintToWriter(CI, printOptions, new OutputDelegateWriter(console), null, sleepBetween); }