Beispiel #1
0
        internal Task GoToPart(NavigationRequest request, Dictionary <string, string> queryData)
        {
            var shellSection = request.Request.Section;

            if (shellSection == null)
            {
                shellSection = ShellItemController.GetItems()[0];
            }

            Shell.ApplyQueryAttributes(shellSection, queryData, request.Request.Content == null);

            if (CurrentItem != shellSection)
            {
                SetValueFromRenderer(CurrentItemProperty, shellSection);
            }

            return(shellSection.GoToPart(request, queryData));
        }