CommandMapperExtensions.PrependToMapping Metode
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Overload
PrependToMapping<TVirtualView,TViewHandler>(CommandMapper<TVirtualView,TViewHandler>, String, Action<TViewHandler,TVirtualView,Object>) |
Tentukan metode yang akan dijalankan sebelum pemetaan perintah yang ada. |
PrependToMapping<TVirtualView,TViewHandler>(ICommandMapper<IElement,IElementHandler>, String, Action<TViewHandler,TVirtualView,Object>) |
Tentukan metode yang akan dijalankan sebelum pemetaan perintah yang ada tetapi lewati jika jenisnya tidak cocok. |
PrependToMapping<TVirtualView,TViewHandler>(ICommandMapper<TVirtualView,TViewHandler>, String, Action<TViewHandler,TVirtualView,Object>) |
Tentukan metode yang akan dijalankan sebelum pemetaan perintah yang ada. |
PrependToMapping<TVirtualView,TViewHandler>(CommandMapper<TVirtualView,TViewHandler>, String, Action<TViewHandler,TVirtualView,Object>)
- Sumber:
- CommandMapperExtensions.cs
- Sumber:
- CommandMapperExtensions.cs
Tentukan metode yang akan dijalankan sebelum pemetaan perintah yang ada.
public:
generic <typename TVirtualView, typename TViewHandler>
where TVirtualView : Microsoft::Maui::IElement where TViewHandler : Microsoft::Maui::IElementHandler[System::Runtime::CompilerServices::Extension]
static void PrependToMapping(Microsoft::Maui::CommandMapper<TVirtualView, TViewHandler> ^ commandMapper, System::String ^ key, Action<TViewHandler, TVirtualView, System::Object ^> ^ method);
public static void PrependToMapping<TVirtualView,TViewHandler> (this Microsoft.Maui.CommandMapper<TVirtualView,TViewHandler> commandMapper, string key, Action<TViewHandler,TVirtualView,object?> method) where TVirtualView : Microsoft.Maui.IElement where TViewHandler : Microsoft.Maui.IElementHandler;
static member PrependToMapping : Microsoft.Maui.CommandMapper<'VirtualView, 'ViewHandler (requires 'VirtualView :> Microsoft.Maui.IElement and 'ViewHandler :> Microsoft.Maui.IElementHandler)> * string * Action<'ViewHandler, 'VirtualView, obj (requires 'ViewHandler :> Microsoft.Maui.IElementHandler and 'VirtualView :> Microsoft.Maui.IElement)> -> unit (requires 'VirtualView :> Microsoft.Maui.IElement and 'ViewHandler :> Microsoft.Maui.IElementHandler)
<Extension()>
Public Sub PrependToMapping(Of TVirtualView As IElement, TViewHandler As IElement) (commandMapper As CommandMapper(Of TVirtualView, TViewHandler), key As String, method As Action(Of TViewHandler, TVirtualView, Object))
Jenis parameter
- TVirtualView
Jenis lintas platform.
- TViewHandler
Jenis handler.
Parameter
- commandMapper
- CommandMapper<TVirtualView,TViewHandler>
Pemeta perintah untuk mengubah pemetaan.
- key
- String
Nama perintah.
Metode untuk memanggil sebelum pemetaan yang ada dimulai.
Berlaku untuk
PrependToMapping<TVirtualView,TViewHandler>(ICommandMapper<IElement,IElementHandler>, String, Action<TViewHandler,TVirtualView,Object>)
- Sumber:
- CommandMapperExtensions.cs
- Sumber:
- CommandMapperExtensions.cs
Tentukan metode yang akan dijalankan sebelum pemetaan perintah yang ada tetapi lewati jika jenisnya tidak cocok.
public:
generic <typename TVirtualView, typename TViewHandler>
where TVirtualView : Microsoft::Maui::IElement where TViewHandler : Microsoft::Maui::IElementHandler[System::Runtime::CompilerServices::Extension]
static void PrependToMapping(Microsoft::Maui::ICommandMapper<Microsoft::Maui::IElement ^, Microsoft::Maui::IElementHandler ^> ^ commandMapper, System::String ^ key, Action<TViewHandler, TVirtualView, System::Object ^> ^ method);
public static void PrependToMapping<TVirtualView,TViewHandler> (this Microsoft.Maui.ICommandMapper<Microsoft.Maui.IElement,Microsoft.Maui.IElementHandler> commandMapper, string key, Action<TViewHandler,TVirtualView,object?> method) where TVirtualView : Microsoft.Maui.IElement where TViewHandler : Microsoft.Maui.IElementHandler;
static member PrependToMapping : Microsoft.Maui.ICommandMapper<Microsoft.Maui.IElement, Microsoft.Maui.IElementHandler> * string * Action<'ViewHandler, 'VirtualView, obj (requires 'ViewHandler :> Microsoft.Maui.IElementHandler and 'VirtualView :> Microsoft.Maui.IElement)> -> unit (requires 'VirtualView :> Microsoft.Maui.IElement and 'ViewHandler :> Microsoft.Maui.IElementHandler)
<Extension()>
Public Sub PrependToMapping(Of TVirtualView As IElement, TViewHandler As IElement) (commandMapper As ICommandMapper(Of IElement, IElementHandler), key As String, method As Action(Of TViewHandler, TVirtualView, Object))
Jenis parameter
- TVirtualView
Jenis lintas platform.
- TViewHandler
Jenis handler.
Parameter
- commandMapper
- ICommandMapper<IElement,IElementHandler>
Pemeta perintah untuk mengubah pemetaan.
- key
- String
Nama perintah.
Metode untuk memanggil sebelum pemetaan yang ada dimulai.
Berlaku untuk
PrependToMapping<TVirtualView,TViewHandler>(ICommandMapper<TVirtualView,TViewHandler>, String, Action<TViewHandler,TVirtualView,Object>)
- Sumber:
- CommandMapperExtensions.cs
- Sumber:
- CommandMapperExtensions.cs
Tentukan metode yang akan dijalankan sebelum pemetaan perintah yang ada.
public:
generic <typename TVirtualView, typename TViewHandler>
where TVirtualView : Microsoft::Maui::IElement where TViewHandler : Microsoft::Maui::IElementHandler[System::Runtime::CompilerServices::Extension]
static void PrependToMapping(Microsoft::Maui::ICommandMapper<TVirtualView, TViewHandler> ^ commandMapper, System::String ^ key, Action<TViewHandler, TVirtualView, System::Object ^> ^ method);
public static void PrependToMapping<TVirtualView,TViewHandler> (this Microsoft.Maui.ICommandMapper<TVirtualView,TViewHandler> commandMapper, string key, Action<TViewHandler,TVirtualView,object?> method) where TVirtualView : Microsoft.Maui.IElement where TViewHandler : Microsoft.Maui.IElementHandler;
static member PrependToMapping : Microsoft.Maui.ICommandMapper<'VirtualView, 'ViewHandler (requires 'VirtualView :> Microsoft.Maui.IElement and 'ViewHandler :> Microsoft.Maui.IElementHandler)> * string * Action<'ViewHandler, 'VirtualView, obj (requires 'ViewHandler :> Microsoft.Maui.IElementHandler and 'VirtualView :> Microsoft.Maui.IElement)> -> unit (requires 'VirtualView :> Microsoft.Maui.IElement and 'ViewHandler :> Microsoft.Maui.IElementHandler)
<Extension()>
Public Sub PrependToMapping(Of TVirtualView As IElement, TViewHandler As IElement) (commandMapper As ICommandMapper(Of TVirtualView, TViewHandler), key As String, method As Action(Of TViewHandler, TVirtualView, Object))
Jenis parameter
- TVirtualView
Jenis lintas platform.
- TViewHandler
Jenis handler.
Parameter
- commandMapper
- ICommandMapper<TVirtualView,TViewHandler>
Pemeta perintah untuk mengubah pemetaan.
- key
- String
Nama perintah.
Metode untuk memanggil sebelum pemetaan yang ada dimulai.