public Topic(string name, string slug, string summary, string teaser, string metaDescription, string icon, string backgroundImage, string image, IEnumerable <SubItem> subItems, IEnumerable <SubItem> secondaryItems, IEnumerable <SubItem> tertiaryItems, IEnumerable <Crumb> breadcrumbs, IEnumerable <Alert> alerts, bool emailAlerts, string emailAlertsTopicId, EventBanner eventBanner, string expandingLinkTitle, IEnumerable <ExpandingLinkBox> expandingLinkBoxs, string primaryItemTitle, string title, bool displayContactUs) { Name = name; Title = title; Slug = slug; Summary = summary; Teaser = teaser; MetaDescription = metaDescription; Icon = icon; BackgroundImage = backgroundImage; Image = image; SubItems = subItems; SecondaryItems = secondaryItems; TertiaryItems = tertiaryItems; Breadcrumbs = breadcrumbs; Alerts = alerts; EmailAlerts = emailAlerts; EmailAlertsTopicId = emailAlertsTopicId; NavigationLink = TypeRoutes.GetUrlFor("topic", slug); _topSubItems = Enumerable.Empty <SubItem>(); EventBanner = eventBanner; ExpandingLinkTitle = expandingLinkTitle; ExpandingLinkBoxes = expandingLinkBoxs; PrimaryItemTitle = primaryItemTitle; DisplayContactUs = displayContactUs; }
public SubItem(string slug, string title, string teaser, string icon, string type, string image, List <SubItem> subItems) { Title = title; Icon = icon; Teaser = teaser; Type = type; NavigationLink = TypeRoutes.GetUrlFor(type, slug); Image = image; SubItems = subItems; }
public ProcessedPrivacyNotice(string slug, string title, string category, string purpose, string typeOfData, string legislation, string obtained, string externallyShared, string retentionPeriod, bool outsideEu, bool automatedDecision, string urlOne, string urlTwo, string urlThree, IEnumerable <Crumb> breadcrumbs, Topic parentTopic) { Slug = slug; Title = title; Category = category; Purpose = purpose; TypeOfData = typeOfData; Legislation = legislation; Obtained = obtained; ExternallyShared = externallyShared; RetentionPeriod = retentionPeriod; OutsideEu = outsideEu; AutomatedDecision = automatedDecision; UrlOne = urlOne; UrlTwo = urlTwo; UrlThree = urlThree; Breadcrumbs = breadcrumbs; ParentTopic = parentTopic; NavigationLink = TypeRoutes.GetUrlFor("privacy-notice", slug); }
public ProcessedArticle(string title, string slug, string body, string teaser, string metaDescription, IEnumerable <ProcessedSection> sections, string icon, string backgroundImage, string image, IEnumerable <Crumb> breadcrumbs, IEnumerable <Alert> alerts, Topic topic, IEnumerable <Alert> alertsInline, S3BucketSearch s3BucketSearch, DateTime updatedAt, bool hideLastUpdated) { Title = title; NavigationLink = TypeRoutes.GetUrlFor("article", slug); Body = body; Teaser = teaser; MetaDescription = metaDescription; Sections = sections; Icon = icon; BackgroundImage = backgroundImage; Image = image; Breadcrumbs = breadcrumbs; Alerts = alerts; ParentTopic = topic; AlertsInline = alertsInline; S3BucketSearch = s3BucketSearch; UpdatedAt = updatedAt; HideLastUpdated = hideLastUpdated; }
public Crumb(string title, string slug, string type) { Title = title; NavigationLink = TypeRoutes.GetUrlFor(type, slug.ToLower()); }
public AtoZ(string title, string slug, string teaser, string type) { Title = title; Teaser = teaser; NavigationLink = TypeRoutes.GetUrlFor(type, slug); }