Пример #1
0
        private static void DoWrite(FileClient helper)
        {


            var tmp = "";

            for (var i = int.MinValue; i < int.MaxValue; i++)
                tmp += "0";

            var myContent = new FileClientContents {FileName = "bigFile.txt", FileContents = tmp};

            helper.WriteData.Add(myContent);

            helper.WriteAll();
        }
Пример #2
0
 private Task WriteFile(FileClientContents myFile)
 {
     return Task.Run(() => FileWriter.WriteStringToFileWithStreamWritter(myFile.FileContents, myFile.FileName));
 }
Пример #3
0
 private Task WriteFile(FileClientContents myFile)
 {
     return(Task.Run(() => FileWriter.WriteStringToFileWithStreamWritter(myFile.FileContents, myFile.FileName)));
 }