5 implementations of IXamlTypeResolver
PresentationFramework (2)
System\Windows\Markup\ProvideValueServiceProvider.cs (1)
21
internal class ProvideValueServiceProvider : IServiceProvider, IProvideValueTarget,
IXamlTypeResolver
, IUriContext, IFreezeFreezables
System\Windows\TemplateContent.cs (1)
1411
internal class ServiceProviderWrapper : ITypeDescriptorContext,
IXamlTypeResolver
, IXamlNamespaceResolver, IProvideValueTarget
System.Xaml (1)
System\Xaml\Context\ServiceProviderContext.cs (1)
16
IXamlTypeResolver
,
System.Xaml.Tests (2)
System\Windows\Markup\StaticExtensionTests.cs (1)
254
private class CustomXamlTypeResolver :
IXamlTypeResolver
System\Windows\Markup\TypeExtensionTests.cs (1)
215
private class CustomXamlTypeResolver :
IXamlTypeResolver
32 references to IXamlTypeResolver
PresentationFramework (20)
MS\Internal\Markup\StaticExtension.cs (3)
81
IXamlTypeResolver
xamlTypeResolver = serviceProvider.GetService(typeof(
IXamlTypeResolver
)) as
IXamlTypeResolver
;
System\Windows\Input\Command\CommandConverter.cs (3)
214
IXamlTypeResolver
xamlTypeResolver = (
IXamlTypeResolver
)context.GetService(typeof(
IXamlTypeResolver
));
System\Windows\Markup\DependencyPropertyConverter.cs (3)
143
IXamlTypeResolver
resolver = serviceProvider.GetService(typeof(
IXamlTypeResolver
))
144
as
IXamlTypeResolver
;
System\Windows\Markup\ProvideValueServiceProvider.cs (3)
52
Type
IXamlTypeResolver
.Resolve(string qualifiedTypeName) // E.g. foo:Class
110
if( service == typeof(
IXamlTypeResolver
))
112
return this as
IXamlTypeResolver
;
System\Windows\Markup\RoutedEventConverter.cs (3)
58
IXamlTypeResolver
resolver = serviceProvider.GetService(typeof(
IXamlTypeResolver
)) as
IXamlTypeResolver
;
System\Windows\PropertyPath.cs (3)
870
IXamlTypeResolver
xtr = (context as IServiceProvider).GetService(typeof(
IXamlTypeResolver
)) as
IXamlTypeResolver
;
System\Windows\TemplateContent.cs (2)
1428
if (serviceType == typeof(
IXamlTypeResolver
))
1446
Type
IXamlTypeResolver
.Resolve(string qualifiedTypeName)
System.Xaml (12)
System\Windows\Markup\StaticExtension.cs (4)
83
IXamlTypeResolver
xamlTypeResolver = serviceProvider.GetService(typeof(
IXamlTypeResolver
)) as
IXamlTypeResolver
;
86
throw new ArgumentException(SR.Format(SR.MarkupExtensionNoContext, GetType().Name, nameof(
IXamlTypeResolver
)));
System\Windows\Markup\TypeExtension.cs (4)
70
IXamlTypeResolver
xamlTypeResolver = serviceProvider.GetService(typeof(
IXamlTypeResolver
)) as
IXamlTypeResolver
;
73
throw new InvalidOperationException(SR.Format(SR.MarkupExtensionNoContext, GetType().Name, nameof(
IXamlTypeResolver
)));
System\Xaml\Context\ServiceProviderContext.cs (2)
37
if (serviceType == typeof(
IXamlTypeResolver
))
114
Type
IXamlTypeResolver
.Resolve(string qName)
System\Xaml\Replacements\TypeTypeConverter.cs (2)
26
IXamlTypeResolver
typeResolver = GetService<
IXamlTypeResolver
>(context);