More content refactoring (tests)
This commit is contained in:
@@ -15,7 +15,6 @@ namespace Umbraco.Web.Models.ContentEditing
|
||||
[DataContract(Name = "content", Namespace = "")]
|
||||
public class ContentItemBasic : EntityBasic
|
||||
{
|
||||
|
||||
[DataMember(Name = "updateDate")]
|
||||
public DateTime UpdateDate { get; set; }
|
||||
|
||||
@@ -25,9 +24,6 @@ namespace Umbraco.Web.Models.ContentEditing
|
||||
[DataMember(Name = "published")]
|
||||
public bool Published { get; set; }
|
||||
|
||||
[DataMember(Name = "hasPublishedVersion")]
|
||||
public bool HasPublishedVersion { get; set; }
|
||||
|
||||
[DataMember(Name = "owner")]
|
||||
public UserProfile Owner { get; set; }
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ namespace Umbraco.Web.Models.ContentEditing
|
||||
/// Gets a value indicating whether this tab is the generic properties tab.
|
||||
/// </summary>
|
||||
[IgnoreDataMember]
|
||||
public bool IsGenericProperties { get { return Id == GenericPropertiesGroupId; } }
|
||||
public bool IsGenericProperties => Id == GenericPropertiesGroupId;
|
||||
|
||||
/// <summary>
|
||||
/// Gets a value indicating whether the property group is inherited through
|
||||
@@ -49,11 +49,7 @@ namespace Umbraco.Web.Models.ContentEditing
|
||||
Properties = new List<TPropertyType>();
|
||||
}
|
||||
|
||||
|
||||
|
||||
[DataMember(Name = "properties")]
|
||||
public IEnumerable<TPropertyType> Properties { get; set; }
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user