2016-05-27 14:26:28 +02:00
|
|
|
|
using System;
|
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Umbraco.Web.PublishedCache.NuCache.DataSource
|
|
|
|
|
|
{
|
2017-12-07 13:22:32 +01:00
|
|
|
|
// represents everything that is specific to edited or published version
|
2017-07-12 14:09:31 +02:00
|
|
|
|
internal class ContentData
|
2016-05-27 14:26:28 +02:00
|
|
|
|
{
|
|
|
|
|
|
public string Name { get; set; }
|
2017-12-07 13:22:32 +01:00
|
|
|
|
public int VersionId { get; set; }
|
2016-05-27 14:26:28 +02:00
|
|
|
|
public DateTime VersionDate { get; set; }
|
|
|
|
|
|
public int WriterId { get; set; }
|
2018-11-15 07:23:09 +00:00
|
|
|
|
public int? TemplateId { get; set; }
|
2018-04-28 21:57:07 +02:00
|
|
|
|
public bool Published { get; set; }
|
2016-05-27 14:26:28 +02:00
|
|
|
|
|
2017-12-07 13:22:32 +01:00
|
|
|
|
public IDictionary<string, PropertyData[]> Properties { get; set; }
|
2018-04-28 21:57:07 +02:00
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// The collection of language Id to name for the content item
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public IReadOnlyDictionary<string, CultureVariation> CultureInfos { get; set; }
|
2016-05-27 14:26:28 +02:00
|
|
|
|
}
|
|
|
|
|
|
}
|