4 instantiations of HydrationContext
Microsoft.Maui.Controls.Xaml (4)
ApplyPropertiesVisitor.cs (1)
790
var context = new
HydrationContext
{ ParentContext = Context, RootAssembly = Context.RootAssembly, RootElement = Context.RootElement, ExceptionHandler = Context.ExceptionHandler };
XamlLoader.cs (3)
82
Visit(rootnode, new
HydrationContext
124
var visitorContext = new
HydrationContext
168
var visitorContext = new
HydrationContext
24 references to HydrationContext
Microsoft.Maui.Controls.Xaml (24)
ApplyPropertiesVisitor.cs (4)
33
public ApplyPropertiesVisitor(
HydrationContext
context, bool stopOnResourceDictionary = false)
40
HydrationContext
Context { get; }
346
public static void SetPropertyValue(object xamlelement, XmlName propertyName, object value, object rootElement, INode node,
HydrationContext
context, IXmlLineInfo lineInfo)
790
var
context = new HydrationContext { ParentContext = Context, RootAssembly = Context.RootAssembly, RootElement = Context.RootElement, ExceptionHandler = Context.ExceptionHandler };
CreateValuesVisitor.cs (2)
19
public CreateValuesVisitor(
HydrationContext
context)
29
HydrationContext
Context { get; }
ExpandMarkupsVisitor.cs (2)
15
public ExpandMarkupsVisitor(
HydrationContext
context) => Context = context;
31
HydrationContext
Context { get; }
FillResourceDictionariesVisitor.cs (2)
16
public FillResourceDictionariesVisitor(
HydrationContext
context) => Context = context;
18
HydrationContext
Context { get; }
HydrationContext.cs (1)
17
public
HydrationContext
ParentContext { get; set; }
NamescopingVisitor.cs (1)
10
public NamescopingVisitor(
HydrationContext
context)
RegisterXNamesVisitor.cs (2)
9
public RegisterXNamesVisitor(
HydrationContext
context)
16
HydrationContext
Context { get; }
XamlLoader.cs (3)
124
var
visitorContext = new HydrationContext
168
var
visitorContext = new HydrationContext
204
static void Visit(RootNode rootnode,
HydrationContext
visitorContext, bool useDesignProperties)
XamlServiceProvider.cs (7)
22
internal XamlServiceProvider(INode node,
HydrationContext
context)
82
public XamlValueTargetProvider(object targetObject, INode node,
HydrationContext
context, object targetProperty)
92
HydrationContext
Context { get; }
103
var
context = Context;
303
public XamlDataTypeProvider(IElementNode node,
HydrationContext
context)
327
static bool DoesNotInheritDataType(IElementNode node,
HydrationContext
context)
373
public
HydrationContext
Context { get; }