/// <summary> /// Handles navigation inwards and sets up the repository model parameter. /// </summary> public override void HandleViewDataLoadEvent() { RepositoryHLink = CommonRoutines.GetHLinkParameter <HLinkRepositoryRefModel>(BaseParamsHLink); RepositoryObject = RepositoryHLink.DeRef; if (!(RepositoryObject == null)) { BaseTitle = RepositoryObject.ToString(); BaseTitleIcon = Constants.IconRepository; BaseDetail.Add(new CardListLineCollection("Repostiory Ref Detail") { new CardListLine("Type:", "Repostiory Ref"), }); BaseDetail.Add(new CardListLineCollection("Call Details") { new CardListLine("Call No:", RepositoryHLink.GCallNo), new CardListLine("Medium:", RepositoryHLink.GMedium), }); BaseDetail.Add(RepositoryHLink.DeRef.HLink); BaseDetail.Add(DV.RepositoryDV.GetModelInfoFormatted(RepositoryObject)); } }