updated check for uQuery.IGetProperty

added XPathCheckBoxList return obj for uQuery .GetProperty<T>("alias")
This commit is contained in:
Hendy@Blueberry
2012-09-24 20:54:26 -01:00
parent 7d8ec2678c
commit 449613de3e
4 changed files with 26 additions and 2 deletions

View File

@@ -0,0 +1,23 @@
using System.Collections.Generic;
using umbraco.NodeFactory;
namespace umbraco.editorControls.XPathCheckBoxList
{
public class XPathCheckBoxList : uQuery.IGetProperty
{
public XPathCheckBoxList()
{
}
void uQuery.IGetProperty.LoadPropertyValue(string value)
{
this.SelectedNodes = uQuery.GetNodesByXml(value);
}
public IEnumerable<Node> SelectedNodes
{
get;
private set;
}
}
}