26 lines
561 B
C#
26 lines
561 B
C#
|
using System;
|
||
|
using System.Collections.Generic;
|
||
|
using Microsoft.DotNet.Cli.Utils;
|
||
|
|
||
|
namespace Microsoft.DotNet.Tools.Test.Utilities
|
||
|
{
|
||
|
public class BufferedReporter : IReporter
|
||
|
{
|
||
|
public List<string> Lines { get; private set; } = new List<string>();
|
||
|
|
||
|
public void WriteLine(string message)
|
||
|
{
|
||
|
Lines.Add(message);
|
||
|
}
|
||
|
|
||
|
public void WriteLine()
|
||
|
{
|
||
|
Lines.Add("");
|
||
|
}
|
||
|
|
||
|
public void Write(string message)
|
||
|
{
|
||
|
throw new NotImplementedException();
|
||
|
}
|
||
|
}
|
||
|
}
|