コード例 #1
0
ファイル: Program.cs プロジェクト: msvenss/CIK.Projects
 public static void PrintAllText()
 {
     IReadText readText = new ReadText();
     IWriteText writeText = new TextToStringWriter();
     var text = readText.Read().Manipulate(GetManipulatorRules());
     Console.Write(writeText.Write(text));
     Console.ReadKey();
 }
コード例 #2
0
 public void Should_be_able_to_write_text_to_string()
 {
     var writer = new TextToStringWriter();
     writer.Write("foo").Should().Be("foo");
 }