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