Ejemplo n.º 1
0
 public void WhenIReadPathAndContents(string fileList)
 {
     var files =
         new Path(
             fileList.Split(
                 new[] { ',', ' ' }, StringSplitOptions.RemoveEmptyEntries));
     files.Read(
         (s, p) => {
             _resultString += p.ToString() + ":" + s;
         });
 }
Ejemplo n.º 2
0
 public void WhenIReadContents(string fileList)
 {
     var files =
         new Path(
             fileList.Split(
                 new[] { ',', ' ' }, StringSplitOptions.RemoveEmptyEntries));
     files.Read(
         s => {_resultString += s;});
 }