public static IMauiHandlersCollection AddCompatibilityRenderer <TControlType, TRenderer>(this IMauiHandlersCollection handlersCollection) where TControlType : IView { handlersCollection.AddCompatibilityRenderer <TControlType, TControlType, TRenderer>(); return(handlersCollection); }
public static IMauiHandlersCollection AddCompatibilityRenderer <TControlType, TRenderer>(this IMauiHandlersCollection handlersCollection) where TControlType : IView { Hosting.MauiAppBuilderExtensions.CheckForCompatibility(); handlersCollection.AddCompatibilityRenderer <TControlType, TControlType, TRenderer>(); return(handlersCollection); }