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