cmdR.Tests.CmdRTests.FakeCmdRConsole.ReadLine C# (CSharp) Méthode

ReadLine() public méthode

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