ApprovalTests.Reporters.QuietReporter.DisplayCommandLineApproval C# (CSharp) 메소드

DisplayCommandLineApproval() 공개 정적인 메소드

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

Usage Example

예제 #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