Write() public method

public Write ( char ch ) : Reko.Core.Output.Formatter
ch char
return Reko.Core.Output.Formatter
Example #1
0
 public void TSF_Link()
 {
     var tsf = new TextSpanFormatter();
     tsf.Write("go to ");
     tsf.WriteHyperlink("Hell", "Aitch-ee-double-hockeysticks");
     Assert.AreEqual("go to _Hell_" + nl, Flatten(tsf));
 }
Example #2
0
 public void TSF_Text()
 {
     var tsf = new TextSpanFormatter();
     tsf.Write("hello");
     Assert.AreEqual("hello"+ nl, Flatten(tsf));
 }