public ReportWebsitePage(ReportWebsitePage other) { WebsitePageZones = new List <ReportWebsitePageZone>(); Name = other.Name; Audience = other.Audience; Path = other.Path; Url = other.Url; IsEditable = other.IsEditable; other.WebsitePageZones.ForEach(owpz => AddWebsitePageZone(owpz)); }
public ReportWebsitePageZone(ReportWebsitePage reportWebsitePage, ReportWebsitePageZone other) : this(other) { reportWebsitePage.AddWebsitePageZone(this); }
public ReportWebsitePage(Report report, ReportWebsitePage other) : this(other) { report.AddWebsitePage(this); }
public void AddWebsitePage(ReportWebsitePage rwp) { WebsitePages.Add(rwp); rwp.Report = this; }