Partager via


ElementHandlerExtensions.GetRequiredService Méthode

Définition

Surcharges

GetRequiredService<T>(IElementHandler)
GetRequiredService<T>(IElementHandler, Type)

GetRequiredService<T>(IElementHandler)

Source:
ElementHandlerExtensions.cs
public:
generic <typename T>
[System::Runtime::CompilerServices::Extension]
 static T GetRequiredService(Microsoft::Maui::IElementHandler ^ handler);
public static T GetRequiredService<T> (this Microsoft.Maui.IElementHandler handler);
static member GetRequiredService : Microsoft.Maui.IElementHandler -> 'T
<Extension()>
Public Function GetRequiredService(Of T) (handler As IElementHandler) As T

Paramètres de type

T

Paramètres

handler
IElementHandler

Retours

T

S’applique à

GetRequiredService<T>(IElementHandler, Type)

Source:
ElementHandlerExtensions.cs
public:
generic <typename T>
[System::Runtime::CompilerServices::Extension]
 static T GetRequiredService(Microsoft::Maui::IElementHandler ^ handler, Type ^ type);
public static T GetRequiredService<T> (this Microsoft.Maui.IElementHandler handler, Type type);
static member GetRequiredService : Microsoft.Maui.IElementHandler * Type -> 'T
<Extension()>
Public Function GetRequiredService(Of T) (handler As IElementHandler, type As Type) As T

Paramètres de type

T

Paramètres

handler
IElementHandler
type
Type

Retours

T

S’applique à