41 references to Registrar
Microsoft.Maui.Controls (10)
DependencyService.cs (2)
120 if (Internals.Registrar.ExtraAssemblies != null) 122 assemblies = assemblies.Union(Internals.Registrar.ExtraAssemblies).ToArray();
Effect.cs (1)
35 if (Internals.Registrar.Effects.TryGetValue(name, out var effectType))
Registrar.cs (2)
110 Registrar.CheckIfRendererIsCompatibilityRenderer(handlerType); 127 Registrar.CheckIfRendererIsCompatibilityRenderer(handlerType);
VisualElement\VisualElement_StyleSheet.cs (1)
17 if (!Internals.Registrar.StyleProperties.TryGetValue(key, out var attrList))
Visuals\VisualTypeConverter.cs (4)
59 if (Internals.Registrar.ExtraAssemblies != null) 60 foreach (var assembly in Internals.Registrar.ExtraAssemblies) 69 if (Internals.Registrar.ExtraAssemblies != null) 70 foreach (var assembly in Internals.Registrar.ExtraAssemblies)
Microsoft.Maui.Controls.Compatibility (31)
AppHostBuilderExtensions.cs (6)
96 Internals.Registrar.Registered.Register(typeof(FileImageSource), typeof(FileImageSourceHandler)); 97 Internals.Registrar.Registered.Register(typeof(StreamImageSource), typeof(StreamImagesourceHandler)); 98 Internals.Registrar.Registered.Register(typeof(UriImageSource), typeof(ImageLoaderSourceHandler)); 99 Internals.Registrar.Registered.Register(typeof(FontImageSource), typeof(FontImageSourceHandler)); 100 Internals.Registrar.Registered.Register(typeof(Microsoft.Maui.EmbeddedFont), typeof(Microsoft.Maui.EmbeddedFontLoader)); 104 Internals.Registrar.RegisterEffect("Xamarin", "ShadowEffect", typeof(ShadowEffect));
iOS\Cells\CellTableViewCell.cs (1)
52 var renderer = (CellRenderer)Controls.Internals.Registrar.Registered.GetHandlerForObject<IRegisterable>(cell);
iOS\Cells\ViewCellRenderer.cs (1)
199 var type = Microsoft.Maui.Controls.Internals.Registrar.Registered.GetHandlerTypeForObject(this._viewCell.View);
iOS\Forms.cs (2)
150 Microsoft.Maui.Controls.Internals.Registrar.RegisterRendererToHandlerShim(RendererToHandlerShim.CreateShim); 172 Controls.Internals.Registrar.RegisterAll(new[]
iOS\Platform.cs (2)
270 renderer = Microsoft.Maui.Controls.Internals.Registrar.Registered.GetHandlerForObject<IVisualElementRenderer>(element) 282 renderer = Microsoft.Maui.Controls.Internals.Registrar.Registered.GetHandlerForObject<IVisualElementRenderer>(element)
iOS\RendererPool.cs (1)
38 var rendererType = Controls.Internals.Registrar.Registered.GetHandlerTypeForObject(view) ?? typeof(ViewRenderer);
iOS\Renderers\ImageElementManager.cs (2)
206 handler = Controls.Internals.Registrar.Registered.GetHandlerForObject<IAnimationSourceHandler>(source); 272 var handler = Controls.Internals.Registrar.Registered.GetHandlerForObject<IImageSourceHandler>(source);
iOS\Renderers\ListViewRenderer.cs (3)
482 if (footer != null && rendererType == Microsoft.Maui.Controls.Internals.Registrar.Registered.GetHandlerTypeForObject(footer)) 527 if (header != null && rendererType == Microsoft.Maui.Controls.Internals.Registrar.Registered.GetHandlerTypeForObject(header)) 1169 var renderer = (CellRenderer)Microsoft.Maui.Controls.Internals.Registrar.Registered.GetHandlerForObject<IRegisterable>(cell);
iOS\Renderers\TableViewModelRenderer.cs (1)
61 var cellRenderer = Controls.Internals.Registrar.Registered.GetHandlerForObject<CellRenderer>(result);
MauiHandlersCollectionExtensions.cs (11)
12 Internals.Registrar.CheckIfRendererIsCompatibilityRenderer(rendererType); 14 Internals.Registrar.Registered.Register(controlType, rendererType); 27 Internals.Registrar.CheckIfRendererIsCompatibilityRenderer(rendererType); 29 Internals.Registrar.Registered.Register(controlType, rendererType); 43 Internals.Registrar.CheckIfRendererIsCompatibilityRenderer(typeof(TRenderer)); 45 Internals.Registrar.Registered.Register(typeof(TControlType), typeof(TRenderer)); 58 Internals.Registrar.CheckIfRendererIsCompatibilityRenderer(typeof(TRenderer)); 70 Internals.Registrar.RegisterAll( 93 Internals.Registrar.RegisterAll( 109 Internals.Registrar.RegisterAll( 130 Internals.Registrar.RegisterEffects(assemblies);
RendererToHandlerShim.iOS.cs (1)
30 return Internals.Registrar.Registered.GetHandlerForObject<IVisualElementRenderer>(view)