public Component(IComponent component) { this.dd4t = component; this.schema = new Schema(dd4t.Schema); this.fields = new FieldSet(dd4t.Fields); this.metadataFields = new FieldSet(dd4t.MetadataFields); this.multimedia = new MultimediaData(dd4t.Multimedia); }
public PageTemplate(IPageTemplate template) { this.template = template; this.metadataFields = new FieldSet(template.MetadataFields); }
public ContentPresentationData(IFieldsData content, ISchemaData schema, ITemplateData template) { this.content = content; this.schema = schema; this.template = template; publicationId = template.PublicationId; }
private readonly ISchemaData metadataSchema = null; //not implemented by DD4T at this time #endregion Fields #region Constructors public Keyword(IKeyword keyword, string categoryName = null) { this.keyword = keyword; if (keyword != null) { this.metadata = new FieldSet(keyword.MetadataFields); //DD4T provides no way to retrieve an ICategory object this.category = new CategoryData(keyword.TaxonomyId, categoryName); } }
public ComponentTemplate(IComponentTemplate template) { this.template = template; this.metadataFields = new FieldSet(template.MetadataFields); }