5 implementations of IXamlTypeResolver
PresentationFramework (2)
System\Windows\Markup\ProvideValueServiceProvider.cs (1)
24
internal class ProvideValueServiceProvider : IServiceProvider, IProvideValueTarget,
IXamlTypeResolver
, IUriContext, IFreezeFreezables
System\Windows\TemplateContent.cs (1)
1414
internal class ServiceProviderWrapper : ITypeDescriptorContext,
IXamlTypeResolver
, IXamlNamespaceResolver, IProvideValueTarget
System.Xaml (1)
System\Xaml\Context\ServiceProviderContext.cs (1)
18
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)
88
IXamlTypeResolver
xamlTypeResolver = serviceProvider.GetService(typeof(
IXamlTypeResolver
)) as
IXamlTypeResolver
;
System\Windows\Input\Command\CommandConverter.cs (3)
219
IXamlTypeResolver
xamlTypeResolver = (
IXamlTypeResolver
)context.GetService(typeof(
IXamlTypeResolver
));
System\Windows\Markup\DependencyPropertyConverter.cs (3)
152
IXamlTypeResolver
resolver = serviceProvider.GetService(typeof(
IXamlTypeResolver
))
153
as
IXamlTypeResolver
;
System\Windows\Markup\ProvideValueServiceProvider.cs (3)
55
Type
IXamlTypeResolver
.Resolve(string qualifiedTypeName) // E.g. foo:Class
113
if( service == typeof(
IXamlTypeResolver
))
115
return this as
IXamlTypeResolver
;
System\Windows\Markup\RoutedEventConverter.cs (3)
59
IXamlTypeResolver
resolver = serviceProvider.GetService(typeof(
IXamlTypeResolver
)) as
IXamlTypeResolver
;
System\Windows\PropertyPath.cs (3)
873
IXamlTypeResolver
xtr = (context as IServiceProvider).GetService(typeof(
IXamlTypeResolver
)) as
IXamlTypeResolver
;
System\Windows\TemplateContent.cs (2)
1431
if (serviceType == typeof(
IXamlTypeResolver
))
1449
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)
39
if (serviceType == typeof(
IXamlTypeResolver
))
116
Type
IXamlTypeResolver
.Resolve(string qName)
System\Xaml\Replacements\TypeTypeConverter.cs (2)
26
IXamlTypeResolver
typeResolver = GetService<
IXamlTypeResolver
>(context);