public NavigationBarItem[] GetNavigationInfo(FileName fileName) { host.UpdateFileName(fileName); context.Run(scriptLoader.GetNavigationScript()); return(host.NavigationResult.result); }
public NavigationBarItem[] GetNavigationInfo(FileName fileName) { if (context == null) { return(new NavigationBarItem[0]); } UpdateCompilerSettings(); host.UpdateFileName(fileName); context.Run(scriptLoader.GetNavigationScript()); return(host.NavigationResult.result); }