示例#1
0
        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());
        }
示例#2
0
 public static void PrintTemplates(IEnumerable CI, OutputDelegate console, PrintOptions printOptions, TimeSpan sleepBetween)
 {
     GraphMaster.PrintToWriter(CI, printOptions, new OutputDelegateWriter(console), null, sleepBetween);
 }