public override void OnNavigatedTo(NavigationContext navigationContext) { var navigationProvider = new PrismNavigationProvider(navigationContext); if (!string.IsNullOrWhiteSpace(navigationProvider.GetValue("path"))) { FileNameQualified = navigationProvider.GetValue("path"); } }
public override void OnNavigatedTo(NavigationContext navigationContext) { base.OnNavigatedTo(navigationContext); var navigationProvider = new PrismNavigationProvider(navigationContext); if (string.IsNullOrWhiteSpace(navigationProvider.GetValue("Type"))) { throw new NullReferenceException("Error missing type argument in query"); } var typename = navigationProvider.GetValue("Type"); RequestType = Type.GetType(typename); }