Esempio n. 1
0
        public NavigationBarItem[] GetNavigationInfo(FileName fileName)
        {
            host.UpdateFileName(fileName);
            context.Run(scriptLoader.GetNavigationScript());

            return(host.NavigationResult.result);
        }
Esempio n. 2
0
        public NavigationBarItem[] GetNavigationInfo(FileName fileName)
        {
            if (context == null)
            {
                return(new NavigationBarItem[0]);
            }

            UpdateCompilerSettings();
            host.UpdateFileName(fileName);
            context.Run(scriptLoader.GetNavigationScript());

            return(host.NavigationResult.result);
        }