3 instantiations of HandlerType
Microsoft.Maui.Controls (3)
Registrar.cs (3)
73 visualRenderers[supportedVisuals[i]] = new(trender, priority); 76 visualRenderers[supportedVisuals[i]] = new(trender, priority); 223 handlerType = new(null, 0);
30 references to HandlerType
Microsoft.Maui.Controls (22)
HandlerAttribute.cs (3)
12 protected HandlerAttribute(Type handler, [DynamicallyAccessedMembers(Internals.HandlerType.TargetMembers)] Type target) : this(handler, target, null) 16 protected HandlerAttribute(Type handler, [DynamicallyAccessedMembers(Internals.HandlerType.TargetMembers)] Type target, Type[] supportedVisuals) 30 [DynamicallyAccessedMembers(Internals.HandlerType.TargetMembers)]
Registrar.cs (16)
45 readonly Dictionary<Type, Dictionary<Type, HandlerType>> _handlers = new Dictionary<Type, Dictionary<Type, HandlerType>>(); 53 [DynamicallyAccessedMembers(HandlerType.TargetMembers)] Type trender, 62 if (!_handlers.TryGetValue(tview, out Dictionary<Type, HandlerType> visualRenderers)) 64 visualRenderers = new Dictionary<Type, HandlerType>(); 70 if (visualRenderers.TryGetValue(supportedVisuals[i], out HandlerType existingTargetValue)) 96 public void Register(Type tview, [DynamicallyAccessedMembers(HandlerType.TargetMembers)] Type trender, Type[] supportedVisual) 99 public void Register(Type tview, [DynamicallyAccessedMembers(HandlerType.TargetMembers)] Type trender) 170 [return: DynamicallyAccessedMembers(HandlerType.TargetMembers)] 176 if (_handlers.TryGetValue(viewType, out Dictionary<Type, HandlerType> visualRenderers)) 177 if (visualRenderers.TryGetValue(visualType, out HandlerType specificTypeRenderer)) 183 if (visualRenderers.TryGetValue(_defaultVisualType, out HandlerType specificTypeRenderer)) 190 if (LookupHandlerType(viewType, visualType, out HandlerType baseTypeRenderer)) 207 bool LookupHandlerType(Type viewType, Type visualType, out HandlerType handlerType) 212 if (_handlers.TryGetValue(viewType, out Dictionary<Type, HandlerType> visualRenderers)) 239 if (!_handlers.TryGetValue(viewType, out Dictionary<Type, HandlerType> visualRenderers) ||
RenderWithAttribute.cs (3)
12 public RenderWithAttribute([DynamicallyAccessedMembers(Internals.HandlerType.TargetMembers)] Type type) : this(type, new[] { typeof(VisualMarker.DefaultVisual) }) 18 [DynamicallyAccessedMembers(Internals.HandlerType.TargetMembers)] Type type, 29 [DynamicallyAccessedMembers(Internals.HandlerType.TargetMembers)]
Microsoft.Maui.Controls.Compatibility (8)
ExportRendererAttribute.cs (4)
9 public ExportRendererAttribute(Type handler, [DynamicallyAccessedMembers(Internals.HandlerType.TargetMembers)] Type target) : this(handler, target, null) 13 public ExportRendererAttribute(Type handler, [DynamicallyAccessedMembers(Internals.HandlerType.TargetMembers)] Type target, Type[] supportedVisuals) : base(handler, target, supportedVisuals) 21 public ExportCellAttribute(Type handler, [DynamicallyAccessedMembers(Internals.HandlerType.TargetMembers)] Type target) : base(handler, target) 29 public ExportImageSourceHandlerAttribute(Type handler, [DynamicallyAccessedMembers(Internals.HandlerType.TargetMembers)] Type target) : base(handler, target)
MauiHandlersCollectionExtensions.cs (4)
10 public static IMauiHandlersCollection TryAddCompatibilityRenderer(this IMauiHandlersCollection handlersCollection, Type controlType, [DynamicallyAccessedMembers(Internals.HandlerType.TargetMembers)] Type rendererType) 25 public static IMauiHandlersCollection AddCompatibilityRenderer(this IMauiHandlersCollection handlersCollection, Type controlType, [DynamicallyAccessedMembers(Internals.HandlerType.TargetMembers)] Type rendererType) 40 public static IMauiHandlersCollection AddCompatibilityRenderer<TControlType, TMauiType, [DynamicallyAccessedMembers(Internals.HandlerType.TargetMembers)] TRenderer>(this IMauiHandlersCollection handlersCollection) 55 public static IMauiHandlersCollection AddCompatibilityRenderer<TControlType, [DynamicallyAccessedMembers(Internals.HandlerType.TargetMembers)] TRenderer>(this IMauiHandlersCollection handlersCollection)