2016-05-27 14:26:28 +02:00
|
|
|
|
using System;
|
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
|
2021-02-18 11:06:02 +01:00
|
|
|
|
namespace Umbraco.Cms.Infrastructure.PublishedCache.DataSource
|
2016-05-27 14:26:28 +02:00
|
|
|
|
{
|
2021-06-24 09:43:57 -06:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Represents everything that is specific to an edited or published content version
|
|
|
|
|
|
/// </summary>
|
2020-02-06 14:40:46 +01:00
|
|
|
|
public class ContentData
|
2016-05-27 14:26:28 +02:00
|
|
|
|
{
|
|
|
|
|
|
public string Name { get; set; }
|
2019-03-05 11:15:30 +01:00
|
|
|
|
public string UrlSegment { 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
|
|
|
|
}
|
|
|
|
|
|
}
|