aboutsummaryrefslogtreecommitdiffstatsci
path: root/src/IML/Context.cs
diff options
context:
space:
mode:
authorjpbruyere <jp.bruyere@hotmail.com>2016-11-22 11:01:58 +0100
committerjpbruyere <jp.bruyere@hotmail.com>2016-11-22 11:01:58 +0100
commit19fd0792d6b89a8fbe39cf5069f0dd02fa548b64 (patch)
treeba483e320d1a2a9a8f58920e61f717a21ffa441d /src/IML/Context.cs
parent4fb8b3a075bd8232be6fdcbb1f5a3b45265d33b4 (diff)
graphic tree bindings valuechanges implementation
Diffstat (limited to 'src/IML/Context.cs')
-rw-r--r--src/IML/Context.cs12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/IML/Context.cs b/src/IML/Context.cs
index 44a9018b..e5d33374 100644
--- a/src/IML/Context.cs
+++ b/src/IML/Context.cs
@@ -44,13 +44,15 @@ namespace Crow.IML
//public SubNodeType curSubNodeType;
public Stack<Node> nodesStack = new Stack<Node> ();
- public Dictionary<string, string> Names = new Dictionary<string, string> ();
+ public Dictionary<string, List<NodeAddress>> Names = new Dictionary<string, List<NodeAddress>>();
public Dictionary<string, Dictionary<string, MemberAddress>> PropertyBindings = new Dictionary<string, Dictionary<string, MemberAddress>> ();
- public Dictionary<NodeAddress, Dictionary<string, MemberAddress>> Bindings =
- new Dictionary<NodeAddress, Dictionary<string, MemberAddress>>();
- public List<DataSourceBinding> DataSourceBindings = new List<DataSourceBinding>();
-
+ public Dictionary<NodeAddress, Dictionary<string, List<MemberAddress>>> Bindings =
+ new Dictionary<NodeAddress, Dictionary<string, List<MemberAddress>>>();
+ //public List<DataSourceBinding> DataSourceBindings = new List<DataSourceBinding>();
+ public Dictionary<NamedNodeAddress, Dictionary<string, MemberAddress>> NamedBindings =
+ new Dictionary<NamedNodeAddress, Dictionary<string, MemberAddress>>();
+
public Context (Type rootType)
{
RootType = rootType;