cmdR.Tests.CmdRTests.FakeCmdRConsole.ReadLine C# (CSharp) Method

ReadLine() public method

public ReadLine ( ) : string
return string
        public string ReadLine()
        {
            if (_first)
            {
                _first = false;
                return TextToRead;
            }
            else return "exit";
        }