PowerArgs.Cli.PageStack.TryNavigate C# (CSharp) Method

TryNavigate() public method

public TryNavigate ( string path ) : bool
path string
return bool
        public bool TryNavigate(string path)
        {
            Page page;
            if(TryResolveRoute(ref path, out page) == false)
            {
                return false;
            }
            Push(path, page);
            return true;
        }