3 writes to NameScope
Microsoft.Maui.Controls.Xaml (3)
CreateValuesVisitor.cs (1)
185
node.NameScopeRef.
NameScope
= existingNs;
NamescopingVisitor.cs (2)
26
? new NameScopeRef {
NameScope
= new NameScope() }
29
public void Visit(RootNode node, INode parentNode) => _scopes[node] = node.NameScopeRef = new NameScopeRef {
NameScope
= new NameScope() };
5 references to NameScope
Microsoft.Maui.Controls.Xaml (5)
CreateValuesVisitor.cs (3)
164
NameScope.SetNameScope(bindableValue, node.NameScopeRef.
NameScope
);
168
iElement.transientNamescope = node.NameScopeRef.
NameScope
;
187
NameScope.SetNameScope(bindable, node.NameScopeRef?.
NameScope
);
RegisterXNamesVisitor.cs (1)
31
((IElementNode)parentNode).NameScopeRef.
NameScope
.RegisterName((string)node.Value, Values[parentNode]);
XamlServiceProvider.cs (1)
272
if ((value = (n as IElementNode)?.NameScopeRef.
NameScope
?.FindByName(name)) != null)