public static AppendAllLines ( string path, System |
||
path | string | |
contents | System |
|
return | void |
public static void AppendAllLines(string path, System.Collections.Generic.IEnumerable<string> contents) { }
public static void AppendAllLines(string path, System.Collections.Generic.IEnumerable<string> contents, System.Text.Encoding encoding) { }
File::AppendAllLines ( String path, IEnumerable |
|
File::AppendAllLines ( String path, IEnumerable |
|
File::AppendAllLines ( string path, System |
public void NotifySuiteFinalized(string name, bool passed, int runtime) { Response.ContentType = "text/plain"; lock (IO_SYNC) { if (passed && _runFlags.IsContinuousIntegration) { IOFile.AppendAllLines(_completedSuitesFileName, new[] { name }); } ConsoleHelper.Write("["); if (passed) { ConsoleHelper.Write(" OK ", ConsoleColor.Green); } else { ConsoleHelper.Write("FAIL", ConsoleColor.Red); } TimeSpan runSpan = TimeSpan.FromMilliseconds(runtime); ConsoleHelper.WriteLine($"] {name} in {Math.Round(runSpan.TotalSeconds, 3)}s"); NotifyIsAlive(); } }