Cleanup IPublishedContent
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user