public static HelpContents GetHelpContents() { if (helpContents == null) { helpContents = new HelpContents() .AddSection("Website Overview") .Add("Overview of Maps") .Add("Interactive Maps") .Add("ToolBar") .Add("Tasks") .Add("Map Contents") .AddSection("Searching") .Add("Quick Search") .Add("Search Tips") .Add("Google Map") .Add("Advanced Search") .Add("Tabular Data Results"); } return helpContents; }
public HelpViewModel() { HelpTopics = HelpContents.GetAllHelpTopics(); SelectedHelpTopic = HelpTopics.Single(h => h == HelpContents.Introduction); }