Moved PublishedCache from Umbraco.Web into .Net standard project.

Returned to compiling state with a number of things to check and some temporarily commented out functionality.
This commit is contained in:
Andy Butland
2020-01-30 20:05:16 +01:00
parent f1daa125e6
commit 171fce2ecb
62 changed files with 148 additions and 141 deletions

View File

@@ -0,0 +1,24 @@
using System;
using System.Collections.Generic;
namespace Umbraco.Web.PublishedCache.NuCache.DataSource
{
// represents everything that is specific to edited or published version
internal class ContentData
{
public string Name { get; set; }
public string UrlSegment { get; set; }
public int VersionId { get; set; }
public DateTime VersionDate { get; set; }
public int WriterId { get; set; }
public int? TemplateId { get; set; }
public bool Published { get; set; }
public IDictionary<string, PropertyData[]> Properties { get; set; }
/// <summary>
/// The collection of language Id to name for the content item
/// </summary>
public IReadOnlyDictionary<string, CultureVariation> CultureInfos { get; set; }
}
}