1 write to Context
Microsoft.Maui.Controls.Xaml (1)
CreateValuesVisitor.cs (1)
21
Context
= context;
22 references to Context
Microsoft.Maui.Controls.Xaml (22)
CreateValuesVisitor.cs (22)
26
get { return
Context
.Values; }
36
public bool IsResourceDictionary(ElementNode node) => typeof(ResourceDictionary).IsAssignableFrom(
Context
.Types[node]);
51
var type = XamlParser.GetElementType(node.XmlType, node,
Context
.RootElement?.GetType().Assembly,
55
if (
Context
.ExceptionHandler != null)
57
Context
.ExceptionHandler(xpe);
62
Context
.Types[node] = type;
97
var serviceProvider = new XamlServiceProvider(node,
Context
);
102
if (
Context
.ExceptionHandler != null)
104
Context
.ExceptionHandler(exception);
129
var serviceProvider = new XamlServiceProvider(node,
Context
);
131
var visitor = new ApplyPropertiesVisitor(
Context
);
144
if (
Context
.ExceptionHandler != null)
146
Context
.ExceptionHandler(xamlpe);
171
var assemblyName = (
Context
.RootAssembly ??
Context
.RootElement?.GetType().Assembly)?.GetName().Name;
172
if (assemblyName != null && value != null && !value.GetType().IsValueType && XamlFilePathAttribute.GetFilePathForObject(
Context
.RootElement) is string path)
181
Context
.Types[node] = rnode.Root.GetType();
190
var assemblyName = (
Context
.RootAssembly ??
Context
.RootElement.GetType().Assembly)?.GetName().Name;
191
if (rnode.Root != null && !rnode.Root.GetType().IsValueType && XamlFilePathAttribute.GetFilePathForObject(
Context
.RootElement) is string path)
322
var value =
Context
.Values[node];
323
var serviceProvider = new XamlServiceProvider(enode,
Context
);