Beispiel #1
0
        public void ProcessHFtoSiteLinks()
        {
            for (int i = 0; i < HFtoSiteLinks.Count; i++)
            {
                Property         link        = HFtoSiteLinks[i];
                HistoricalFigure hf          = HFtoSiteLinkHFs[i];
                SiteLink         relatedSite = new SiteLink(link.SubProperties, this);
                hf.RelatedSites.Add(relatedSite);
            }

            HFtoSiteLinkHFs.Clear();
            HFtoSiteLinks.Clear();
        }
Beispiel #2
0
        public void ProcessHFtoSiteLinks()
        {
            for (int i = 0; i < _hFtoSiteLinks.Count; i++)
            {
                Property         link         = _hFtoSiteLinks[i];
                HistoricalFigure hf           = _hFtoSiteLinkHFs[i];
                SiteLink         hfToSiteLink = new SiteLink(link.SubProperties, this);
                hf.RelatedSites.Add(hfToSiteLink);
                hfToSiteLink.Site?.RelatedHistoricalFigures.Add(hf);
            }

            _hFtoSiteLinkHFs.Clear();
            _hFtoSiteLinks.Clear();
        }
Beispiel #3
0
        public void ProcessHFtoSiteLinks()
        {
            for (int i = 0; i < HFtoSiteLinks.Count; i++)
            {
                Property link = HFtoSiteLinks[i];
                HistoricalFigure hf = HFtoSiteLinkHFs[i];
                SiteLink relatedSite = new SiteLink(link.SubProperties, this);
                hf.RelatedSites.Add(relatedSite);
            }

            HFtoSiteLinkHFs.Clear();
            HFtoSiteLinks.Clear();
        }