2 implementations of IXamlNameProvider
System.Xaml (1)
System\Xaml\XamlObjectReader.cs (1)
2810
class TypeDescriptorAndValueSerializerContext : IValueSerializerContext, INamespacePrefixLookup, IXamlSchemaContextProvider,
IXamlNameProvider
System.Xaml.Tests (1)
System\Windows\Markup\NameReferenceConverterTests.cs (1)
252
private class CustomXamlNameProvider :
IXamlNameProvider
9 references to IXamlNameProvider
System.Xaml (6)
System\Windows\Markup\NameReferenceConverter.cs (5)
53
if (context is null || (context.GetService(typeof(
IXamlNameProvider
)) as
IXamlNameProvider
) is null)
70
var
nameProvider = (
IXamlNameProvider
)context.GetService(typeof(
IXamlNameProvider
));
System\Xaml\XamlObjectReader.cs (1)
2840
if (serviceType == typeof(
IXamlNameProvider
)) { return this; }
System.Xaml.Tests (3)
System\Windows\Markup\NameReferenceConverterTests.cs (3)
148
Assert.Equal(typeof(
IXamlNameProvider
), serviceType);
173
Assert.Equal(typeof(
IXamlNameProvider
), serviceType);
188
Assert.Equal(typeof(
IXamlNameProvider
), serviceType);