ApprovalTests.Reporters.QuietReporter.GetCommandLineForApproval C# (CSharp) Method

GetCommandLineForApproval() public static method

public static GetCommandLineForApproval ( string approved, string received ) : string
approved string
received string
return string
		public static string GetCommandLineForApproval(string approved, string received)
		{
			return string.Format("cmd /c move /Y \"{0}\" \"{1}\"", received, approved);
		}

Usage Example

        public void Report(string approved, string received)
        {
            var temp = QuietReporter.GetCommandLineForApproval(approved, received);

            TOTAL.AppendLine(temp);
            Clipboard.SetText(TOTAL.ToString());
        }
All Usage Examples Of ApprovalTests.Reporters.QuietReporter::GetCommandLineForApproval