Making a few corrections to the serialization attributes after having tested ContentType Serialization. Enabling bulk saving of new ContentTypes with Parent/Composition dependencies.
24 lines
494 B
C#
24 lines
494 B
C#
using System;
|
|
using System.Runtime.Serialization;
|
|
|
|
namespace Umbraco.Core.Models
|
|
{
|
|
/// <summary>
|
|
/// Enum for the various statuses a Content object can have
|
|
/// </summary>
|
|
[Serializable]
|
|
[DataContract]
|
|
public enum ContentStatus
|
|
{
|
|
[EnumMember]
|
|
Unpublished,
|
|
[EnumMember]
|
|
Published,
|
|
[EnumMember]
|
|
Expired,
|
|
[EnumMember]
|
|
Trashed,
|
|
[EnumMember]
|
|
AwaitingRelease
|
|
}
|
|
} |