CommandMapper<TVirtualView> 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
generic <typename TVirtualView>
where TVirtualView : IElementpublic ref class CommandMapper : Microsoft::Maui::CommandMapper<TVirtualView, Microsoft::Maui::IElementHandler ^>
public class CommandMapper<TVirtualView> : Microsoft.Maui.CommandMapper<TVirtualView,Microsoft.Maui.IElementHandler> where TVirtualView : IElement
type CommandMapper<'VirtualView (requires 'VirtualView :> IElement)> = class
inherit CommandMapper<'VirtualView, IElementHandler (requires 'VirtualView :> IElement)>
Public Class CommandMapper(Of TVirtualView)
Inherits CommandMapper(Of TVirtualView, IElementHandler)
類型參數
- 繼承
-
CommandMapper<TVirtualView>
建構函式
屬性
方法
Add(String, Action<TViewHandler,TVirtualView,Object>)
|
(繼承來源 CommandMapper<TVirtualView,TViewHandler>)
|
Add(String, Action<TViewHandler,TVirtualView>)
|
(繼承來源 CommandMapper<TVirtualView,TViewHandler>)
|
GetCommand(String)
|
(繼承來源 CommandMapper)
|
Invoke(IElementHandler, IElement, String, Object)
|
(繼承來源 CommandMapper)
|
擴充方法
AppendToMapping<TVirtualView,TViewHandler>(CommandMapper<TVirtualView,TViewHandler>, String, Action<TViewHandler,TVirtualView,Object>)
|
指定要在現有命令對應之後執行的方法。
|
AppendToMapping<TVirtualView,TViewHandler>(ICommandMapper<TVirtualView,TViewHandler>, String, Action<TViewHandler,TVirtualView,Object>)
|
指定要在現有命令對應之後執行的方法。
|
ModifyMapping<TVirtualView,TViewHandler>(CommandMapper<TVirtualView,
TViewHandler>, String, Action<TViewHandler,TVirtualView,Object,
Action<IElementHandler,IElement,Object>>)
|
就地修改命令對應。
|
ModifyMapping<TVirtualView,TViewHandler>(ICommandMapper<TVirtualView,
TViewHandler>, String, Action<TViewHandler,TVirtualView,Object,
Action<IElementHandler,IElement,Object>>)
|
就地修改命令對應。
|
PrependToMapping<TVirtualView,TViewHandler>(CommandMapper<TVirtualView,TViewHandler>, String, Action<TViewHandler,TVirtualView,Object>)
|
指定要在現有命令對應之前執行的方法。
|
PrependToMapping<TVirtualView,TViewHandler>(ICommandMapper<TVirtualView,TViewHandler>, String, Action<TViewHandler,TVirtualView,Object>)
|
指定要在現有命令對應之前執行的方法。
|
適用於