Example #1
0
        protected void GoToLink(string controller, string action)
        {
            ILinkActionBase link = new LinkActionBase();

            link.Controller = controller;
            link.Action     = action;
            this.SelectLink = link;
        }
Example #2
0
        /// <summary> 获取当前LinkAction </summary>
        public ILinkActionBase GetLinkAction(string action)
        {
            ILinkActionBase link = new LinkActionBase();

            link.Controller  = this.GetController();
            link.Action      = action;
            link.DisplayName = action;
            return(link);
        }