summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Xaml/HydratationContext.cs
blob: 172bce1741c7130f696e72f216a31dc59ee6213c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
using System;
using System.Collections.Generic;

namespace Xamarin.Forms.Xaml
{
	class HydratationContext
	{
		public HydratationContext()
		{
			Values = new Dictionary<INode, object>();
			Types = new Dictionary<IElementNode, Type>();
		}

		public Dictionary<INode, object> Values { get; private set; }

		public Dictionary<IElementNode, Type> Types { get; private set; }

		public HydratationContext ParentContext { get; set; }

		public Action<Exception> ExceptionHandler { get; set; }

		public object RootElement { get; set; }
	}
}