ApprovalTests.Reporters.QuietReporter.DisplayCommandLineApproval C# (CSharp) Méthode

DisplayCommandLineApproval() public static méthode

public static DisplayCommandLineApproval ( string approved, string received ) : void
approved string
received string
Résultat void
		public static void DisplayCommandLineApproval(string approved, string received)
		{
			string message = GetCommandLineForApproval(approved, received);
			Debug.WriteLine(message);
			Console.WriteLine(message);
		}

Usage Example

Exemple #1
0
        public void Report(string approved, string received)
        {
            QuietReporter.DisplayCommandLineApproval(approved, received);

            var text = string.Format("notepad \"{0}\"", received);

            Process.Start(received);
        }
All Usage Examples Of ApprovalTests.Reporters.QuietReporter::DisplayCommandLineApproval