public SampleDataSource() { var dm = new DocumentReference() { Dokumentnummer = "NOR123455", DokumentUrl = "http://www.orf.at/", Kurzinformation = "Nix", ArtikelParagraphAnlage = "Artikel sowieso" }; _documentReferences.Add(dm); var dl = new DbDownloadedDocument() { Id = 1, DokumentNummer = "NOR123455", DokumentTitel = "§1 Faschingsgesetz", LastDownloaded = DateTime.Now }; _downloads.Add(dl); _history.Add(new DbRisQueryParameter(new RisFulltextQueryParameter("Ehe"), 8787)); _history.Add(new DbRisQueryParameter(new RisFulltextQueryParameter("Gesellschaftsrecht"), 46)); }
private void NavigateWithServiceAction(DocumentReference item) { var title = CreateTitleFromItem(item); var action = DocumentDetailNavigationParameter .CreateNavigationParameter(title, NavigationAction.LoadFromService, item.Dokumentnummer); NavigationService.Navigate<DocumentDetailPage>(action); }
private string CreateTitleFromItem(DocumentReference item) { return String.Format("{0} {1}", item.ArtikelParagraphAnlage, item.Kurzinformation); }