示例#1
0
 static void Write(ScenarioReportingContext context, Stream stream)
 {
     using (var writer = new StreamWriter(stream))
     {
         writer.WriteLine(context.CreateReport());
     }
 }
示例#2
0
 public void Report(ScenarioReportingContext scenario)
 {
     Trace.WriteLine(scenario.CreateReport());
 }