File: HydrationContext.cs
Web Access
Project: src\src\Controls\src\Xaml\Controls.Xaml.csproj (Microsoft.Maui.Controls.Xaml)
using System;
using System.Collections.Generic;
using System.Reflection;
 
namespace Microsoft.Maui.Controls.Xaml
{
	class HydrationContext
	{
		public HydrationContext()
		{
			Values = new Dictionary<INode, object>();
			Types = new Dictionary<IElementNode, Type>();
		}
 
		public Dictionary<INode, object> Values { get; }
		public Dictionary<IElementNode, Type> Types { get; }
		public HydrationContext ParentContext { get; set; }
		public Action<Exception> ExceptionHandler { get; set; }
		public object RootElement { get; set; }
		public Assembly RootAssembly { get; internal set; }
	}
}