Cleanup IPublishedContent

This commit is contained in:
Stephan
2018-04-28 16:34:43 +02:00
parent 27390afe86
commit ce8775b3e7
30 changed files with 855 additions and 540 deletions

View File

@@ -144,14 +144,12 @@ namespace Umbraco.Web.PublishedCache
public override string Name => _member.Name;
public override IReadOnlyDictionary<string, PublishedCultureName> CultureNames => throw new NotSupportedException();
public override PublishedCultureInfos GetCulture(string culture = ".") => throw new NotSupportedException();
public override IReadOnlyDictionary<string, PublishedCultureInfos> Cultures => throw new NotSupportedException();
public override string UrlName => throw new NotSupportedException();
public override string DocumentTypeAlias => _member.ContentTypeAlias;
public override int DocumentTypeId => _member.ContentType.Id;
//TODO: ARGH! need to fix this - this is not good because it uses ApplicationContext.Current
public override string WriterName => _member.GetCreatorProfile().Name;