4 implementations of IXamlNameResolver
System.Xaml (2)
System\Xaml\Context\ObjectWriterContext.cs (1)
1046private class StackWalkNameResolver : IXamlNameResolver
System\Xaml\Context\ServiceProviderContext.cs (1)
25IXamlNameResolver,
System.Xaml.Tests (2)
System\Windows\Markup\NameReferenceConverterTests.cs (1)
222private class CustomXamlNameResolver : IXamlNameResolver
System\Windows\Markup\ReferenceTests.cs (1)
113private class CustomXamlNameResolver : IXamlNameResolver
20 references to IXamlNameResolver
System.Xaml (15)
System\Windows\Markup\NameReferenceConverter.cs (3)
29var nameResolver = (IXamlNameResolver)context.GetService(typeof(IXamlNameResolver));
System\Windows\Markup\Reference.cs (3)
29IXamlNameResolver nameResolver = serviceProvider.GetService(typeof(IXamlNameResolver)) as IXamlNameResolver;
System\Xaml\Context\ServiceProviderContext.cs (9)
67else if (serviceType == typeof(IXamlNameResolver)) 265bool IXamlNameResolver.IsFixupTokenAvailable 270object IXamlNameResolver.Resolve(string name) 275object IXamlNameResolver.Resolve(string name, out bool isFullyInitialized) 280object IXamlNameResolver.GetFixupToken(IEnumerable<string> names) 282return ((IXamlNameResolver)this).GetFixupToken(names, false); 285object IXamlNameResolver.GetFixupToken(IEnumerable<string> names, bool canAssignDirectly) 366IEnumerable<KeyValuePair<string, object>> IXamlNameResolver.GetAllNamesAndValuesInScope() 371event EventHandler IXamlNameResolver.OnNameScopeInitializationComplete
System.Xaml.Tests (5)
System\Windows\Markup\NameReferenceConverterTests.cs (5)
36Assert.Equal(typeof(IXamlNameResolver), serviceType); 57Assert.Equal(typeof(IXamlNameResolver), serviceType); 83Assert.Equal(typeof(IXamlNameResolver), serviceType); 98Assert.Equal(typeof(IXamlNameResolver), serviceType); 116Assert.Equal(typeof(IXamlNameResolver), serviceType);