using System.Collections.Generic; using System.ComponentModel; using System.Runtime.Serialization; namespace Umbraco.Web.Models.ContentEditing { [DataContract(Name = "propertyGroup", Namespace = "")] public class PropertyGroupDisplay : PropertyGroupBasic where TPropertyTypeDisplay : PropertyTypeDisplay { public PropertyGroupDisplay() { Properties = new List(); ParentTabContentTypeNames = new List(); ParentTabContentTypes = new List(); } /// /// Gets the context content type. /// [DataMember(Name = "contentTypeId")] [ReadOnly(true)] public int ContentTypeId { get; set; } /// /// Gets the identifiers of the content types that define this group. /// [DataMember(Name = "parentTabContentTypes")] [ReadOnly(true)] public IEnumerable ParentTabContentTypes { get; set; } /// /// Gets the name of the content types that define this group. /// [DataMember(Name = "parentTabContentTypeNames")] [ReadOnly(true)] public IEnumerable ParentTabContentTypeNames { get; set; } } }