Started implementing new IPublishedMediaStore which will replace the notion of the legacy ExamineBackedMedia and

moving forward will open up many nice opportunities. This will be used for the media accessor in the new DynamicDocument.
Renamed XmlPublishedContentStore to just DefaultPublishedContentStore.
Made GetProperty an extension method for IDocument and removed from the interface as it is not needed there.
This commit is contained in:
Shannon Deminick
2012-09-08 13:22:45 +07:00
parent ce9be79ec6
commit 27bcea78d2
15 changed files with 286 additions and 63 deletions

View File

@@ -236,11 +236,6 @@ namespace Umbraco.Web.Models
}
}
//public string NiceUrl
//{
// get { return _niceUrlProvider.GetNiceUrl(Id); }
//}
public int Level
{
get
@@ -260,12 +255,7 @@ namespace Umbraco.Web.Models
return _properties;
}
}
public IDocumentProperty GetProperty(string alias)
{
return Properties.FirstOrDefault(p => p.Alias.InvariantEquals(alias));
}
private void InitializeStructure()
{