Adding Publish and UnPublish EventArgs
This commit is contained in:
40
src/Umbraco.Core/Models/EntityBase/IUmbracoEntity.cs
Normal file
40
src/Umbraco.Core/Models/EntityBase/IUmbracoEntity.cs
Normal file
@@ -0,0 +1,40 @@
|
||||
namespace Umbraco.Core.Models.EntityBase
|
||||
{
|
||||
internal interface IUmbracoEntity : IEntity
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets the Id of the Parent entity
|
||||
/// </summary>
|
||||
int ParentId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the sort order of the Entity
|
||||
/// </summary>
|
||||
int SortOrder { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the level of the Entity
|
||||
/// </summary>
|
||||
int Level { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the path to the Entity
|
||||
/// </summary>
|
||||
string Path { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Profile of the user who created this Entity
|
||||
/// </summary>
|
||||
int CreatorId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Boolean indicating whether this Entity is Trashed or not.
|
||||
/// If an Entity is Trashed it will be located in the Recyclebin.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// When content is trashed it should be unpublished.
|
||||
/// Not all entities support being trashed, they'll always return false.
|
||||
/// </remarks>
|
||||
bool Trashed { get; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user