public PersonalityQuestionSetContentItem(string title, string timestamp, string contentItemId = null) : base("PersonalityQuestionSet", title, timestamp, contentItemId) { TitlePart = new TitlePart(title); GraphSyncPart = new GraphSyncPart("PersonalityQuestionSet"); DisplayText = TitlePart.Title; }
public QCFLevelContentItem(string title, string timestamp, string contentItemId = null) : base("QCFLevel", title, timestamp, contentItemId) { TitlePart = new TitlePart(title); GraphSyncPart = new GraphSyncPart("QCFLevel"); DisplayText = TitlePart.Title; }
public ONetOccupationalCodeContentItem(string title, string timestamp, string contentItemId = null) : base(CONTENT_TYPE, title, timestamp, contentItemId) { TitlePart = new TitlePart(title); GraphSyncPart = new GraphSyncPart(CONTENT_TYPE); EponymousPart = new ONetOccupationalCodePart(); }
public JobCategoryContentItem(string title, string timestamp, string contentItemId = null) : base("JobCategory", title, timestamp, contentItemId) { TitlePart = new TitlePart(title); GraphSyncPart = new GraphSyncPart("JobCategory"); DisplayText = TitlePart.Title; }
public ApprenticeshipStandardContentItem(string title, string timestamp, string contentItemId = null) : base("ApprenticeshipStandard", title, timestamp, contentItemId) { TitlePart = new TitlePart(title); GraphSyncPart = new GraphSyncPart("ApprenticeshipStandard"); DisplayText = TitlePart.Title; }
public JobProfileContentItem(string title, string timestamp) : base("JobProfile", title, timestamp) { TitlePart = new TitlePart(title); GraphSyncPart = new GraphSyncPart("JobProfile"); DisplayText = TitlePart.Title; }
public TitleHtmlDescriptionContentItem(string contentType, string title, string timestamp, string description, string contentItemId = null) : base(contentType, title, timestamp, contentItemId) { TitlePart = new TitlePart(title); GraphSyncPart = new GraphSyncPart(contentType); EponymousPart = new TitleHtmlDescriptionPart { Description = new HtmlField(description) }; DisplayText = TitlePart.Title; }
public AcademicEntryRouteContentItem(string contentType, string title, AcademicEntryRoute entryRoute, string timestamp, string contentItemId = null) : base(contentType, null, timestamp, contentItemId) { TitlePart = new TitlePart(title); DisplayText = TitlePart.Title; EponymousPart = new AcademicEntryRoutePart { RelevantSubjects = new HtmlField(entryRoute.RelevantSubjects), FurtherInfo = new HtmlField(entryRoute.FurtherInformation) }; GraphSyncPart = new GraphSyncPart(contentType); }
public AcademicEntryRouteLinkContentItem(string contentType, string title, string sitefinityUrl, string timestamp, string contentItemId) : base(contentType, title, timestamp, contentItemId) { TitlePart = new TitlePart(title); DisplayText = TitlePart.Title; GraphSyncPart = new GraphSyncPart(contentType); EponymousPart = new AcademicEntryRouteLinkPart { Link = new LinkField(sitefinityUrl) }; }
public TitleTextDescriptionContentItem(string contentType, string title, string timestamp, string description, string contentItemId = null) : base(contentType, title, timestamp, contentItemId) { TitlePart = new TitlePart(title); GraphSyncPart = new GraphSyncPart(contentType); EponymousPart = new TitleTextDescriptionPart { Description = new TextField(description) }; // update DisplayText with transformed title //todo: transform DisplayText and use that to initialize title? DisplayText = TitlePart.Title; }