From 19189a7fa0f9ac95aff10be9920477fbc38eca1c Mon Sep 17 00:00:00 2001 From: Eilon Lipton Date: Fri, 27 May 2022 16:57:42 -0700 Subject: [PATCH] Update ElementHandlerRegistry.cs --- .../ElementHandlerRegistry.cs | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/Microsoft.MobileBlazorBindings.Core/ElementHandlerRegistry.cs b/src/Microsoft.MobileBlazorBindings.Core/ElementHandlerRegistry.cs index 574eaef..aa5c9a0 100644 --- a/src/Microsoft.MobileBlazorBindings.Core/ElementHandlerRegistry.cs +++ b/src/Microsoft.MobileBlazorBindings.Core/ElementHandlerRegistry.cs @@ -44,13 +44,6 @@ namespace Microsoft.MobileBlazorBindings.Core ElementHandlers.Add(key, new ElementHandlerFactory((renderer, parent, component) => factory(renderer, parent, component))); } - public static void RegisterPropertyContentHandler(string propertyName, - Func factory) where TComponent : NativeControlComponentBase - { - var key = $"p-{typeof(TComponent).FullName}.{propertyName}"; - ElementHandlers.Add(key, new ElementHandlerFactory((renderer, _) => factory(renderer))); - } - public static void RegisterElementHandler() where TComponent : NativeControlComponentBase where TControlHandler : class, IElementHandler, new() { RegisterElementHandler((_, __) => new TControlHandler());