Tsunami.Context.HandleImpl C# (CSharp) 메소드

HandleImpl() 보호된 메소드

protected HandleImpl ( string line ) : System.Result
line string
리턴 System.Result
        protected virtual Result HandleImpl(string line)
        {
            if (string.IsNullOrEmpty(line))
                return Result.ShouldPop;

            Option option = Options.GetSelected(line);
            if (option == null || option.Context == null)
                return Result.Unhandled;

            Child = option.Context;
            return Result.Handled;
        }