maui-linux/System.Maui.Xaml/HydrationContext.cs

22 строки
579 B
C#

using System;
using System.Collections.Generic;
using System.Reflection;
namespace System.Maui.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; }
}
}