Mono.CSharpShell.GetLine C# (CSharp) 메소드

GetLine() 개인적인 메소드

private GetLine ( bool primary ) : string
primary bool
리턴 string
		string GetLine (bool primary)
		{
			string prompt = primary ? InteractiveBase.Prompt : InteractiveBase.ContinuationPrompt;

			if (dumb){
				if (isatty)
					Console.Write (prompt);

				return Console.ReadLine ();
			} else {
				return editor.Edit (prompt, "");
			}
		}