summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Xaml/HydratationContext.cs
blob: 7273a2ccb84b1ebeeac93fe54cc504d883313415 (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
{
	internal 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 bool DoNotThrowOnExceptions { get; set; }

		public object RootElement { get; set; }
	}
}