public void CaptureConversions(File file, Action<Writer> action)
 {
     file.WriteTextTo(tw =>
     {
         var w = new Writer(tw, _cache);
         action(w);
     });
 }
Пример #2
0
        public void WriteError(File errorFile, ErrorFileEntry error)
        {
            var jsonError = JsonConvert.SerializeObject(error, Formatting.Indented);

            errorFile.WriteTextTo(writer => writer.Write(jsonError));
        }