1 implementation of IXamlTypeResolver
Microsoft.Maui.Controls.Xaml (1)
XamlServiceProvider.cs (1)
187 public class XamlTypeResolver : IXamlTypeResolver
22 references to IXamlTypeResolver
Microsoft.Maui.Controls (4)
BindablePropertyConverter.cs (2)
30 if (!(serviceProvider.GetService(typeof(IXamlTypeResolver)) is IXamlTypeResolver typeResolver))
TypeTypeConverter.cs (2)
23 if (!(serviceProvider.GetService(typeof(IXamlTypeResolver)) is IXamlTypeResolver typeResolver))
Microsoft.Maui.Controls.Xaml (18)
ExpandMarkupsVisitor.cs (1)
183 if (!(serviceProvider.GetService(typeof(IXamlTypeResolver)) is XamlTypeResolver typeResolver))
MarkupExtensionParser.cs (3)
18 var typeResolver = serviceProvider.GetService(typeof(IXamlTypeResolver)) as IXamlTypeResolver;
MarkupExtensions\BindingExtension.cs (2)
47 (serviceProvider.GetService(typeof(IXamlTypeResolver)) is IXamlTypeResolver typeResolver)
MarkupExtensions\DataTemplateExtension.cs (2)
17 if (!(serviceProvider.GetService(typeof(IXamlTypeResolver)) is IXamlTypeResolver typeResolver))
MarkupExtensions\StaticExtension.cs (2)
21 if (!(serviceProvider.GetService(typeof(IXamlTypeResolver)) is IXamlTypeResolver typeResolver))
MarkupExtensions\TypeExtension.cs (2)
16 if (!(serviceProvider.GetService(typeof(IXamlTypeResolver)) is IXamlTypeResolver typeResolver))
XamlServiceProvider.cs (6)
51 internal IXamlTypeResolver IXamlTypeResolver 53 get => (IXamlTypeResolver)GetService(typeof(IXamlTypeResolver)); 54 set => services[typeof(IXamlTypeResolver)] = value; 210 Type IXamlTypeResolver.Resolve(string qualifiedTypeName, IServiceProvider serviceProvider) 218 bool IXamlTypeResolver.TryResolve(string qualifiedTypeName, out Type type)