Raven.Studio.MainPage.ContentFrame_Navigated C# (CSharp) Method

ContentFrame_Navigated() private method

private ContentFrame_Navigated ( object sender, System.Windows.Navigation.NavigationEventArgs e ) : void
sender object
e System.Windows.Navigation.NavigationEventArgs
return void
		private void ContentFrame_Navigated(object sender, NavigationEventArgs e)
		{
			HighlightCurrentPage(e.Uri);

			// update the current database here so that back button navigation works correctly with database changes
			ApplicationModel.Current.Server.Value.SetCurrentDatabase(new UrlParser(e.Uri.OriginalString));

			GC.Collect();
		}