Share via


ElementHandlerExtensions.GetServiceProvider(IElementHandler) Method

Definition

public:
[System::Runtime::CompilerServices::Extension]
 static IServiceProvider ^ GetServiceProvider(Microsoft::Maui::IElementHandler ^ handler);
public static IServiceProvider GetServiceProvider (this Microsoft.Maui.IElementHandler handler);
static member GetServiceProvider : Microsoft.Maui.IElementHandler -> IServiceProvider
<Extension()>
Public Function GetServiceProvider (handler As IElementHandler) As IServiceProvider

Parameters

handler
IElementHandler

Returns

Applies to