Exemplo n.º 1
0
 public void WriteLineWithPath(string line)
 {
     using (var writer = File.AppendText(name)) {
         writer.WriteLine(PathId.AsOS(line));
     }
 }
Exemplo n.º 2
0
        public void PageFromSuite(string pageName)
        {
            var pageSource = processor.Get <Context>().PageSource;

            String(pageSource.GetPageContent(processor.Get <Context>().SuitePath.WithSubPath(pageSource.MakePath(PathId.AsOS(pageName)))));
        }
Exemplo n.º 3
0
 public bool FileWithPathsSameAs(PathId theFirstFile, PathId theSecondFile)
 {
     return(FileSame(theFirstFile, theSecondFile, s => PathId.AsOS(s.Replace("\r\n", "\n"))));
 }