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:
@@ -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()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user