maui-linux/Xamarin.Forms.Xaml/HydrationContext.cs

22 строки
581 B
C#

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