4 implementations of IXamlNameResolver
System.Xaml (2)
System\Xaml\Context\ObjectWriterContext.cs (1)
1064
private class StackWalkNameResolver :
IXamlNameResolver
System\Xaml\Context\ServiceProviderContext.cs (1)
23
IXamlNameResolver
,
System.Xaml.Tests (2)
System\Windows\Markup\NameReferenceConverterTests.cs (1)
215
private class CustomXamlNameResolver :
IXamlNameResolver
System\Windows\Markup\ReferenceTests.cs (1)
104
private class CustomXamlNameResolver :
IXamlNameResolver
19 references to IXamlNameResolver
System.Xaml (14)
System\Windows\Markup\NameReferenceConverter.cs (3)
29
var
nameResolver = (
IXamlNameResolver
)context.GetService(typeof(
IXamlNameResolver
));
System\Windows\Markup\Reference.cs (2)
29
if (serviceProvider.GetService(typeof(
IXamlNameResolver
)) is not
IXamlNameResolver
nameResolver)
System\Xaml\Context\ServiceProviderContext.cs (9)
65
else if (serviceType == typeof(
IXamlNameResolver
))
263
bool
IXamlNameResolver
.IsFixupTokenAvailable
268
object
IXamlNameResolver
.Resolve(string name)
273
object
IXamlNameResolver
.Resolve(string name, out bool isFullyInitialized)
278
object
IXamlNameResolver
.GetFixupToken(IEnumerable<string> names)
280
return ((
IXamlNameResolver
)this).GetFixupToken(names, false);
283
object
IXamlNameResolver
.GetFixupToken(IEnumerable<string> names, bool canAssignDirectly)
367
IEnumerable<KeyValuePair<string, object>>
IXamlNameResolver
.GetAllNamesAndValuesInScope()
372
event EventHandler
IXamlNameResolver
.OnNameScopeInitializationComplete
System.Xaml.Tests (5)
System\Windows\Markup\NameReferenceConverterTests.cs (5)
34
Assert.Equal(typeof(
IXamlNameResolver
), serviceType);
55
Assert.Equal(typeof(
IXamlNameResolver
), serviceType);
81
Assert.Equal(typeof(
IXamlNameResolver
), serviceType);
96
Assert.Equal(typeof(
IXamlNameResolver
), serviceType);
114
Assert.Equal(typeof(
IXamlNameResolver
), serviceType);