共用方式為


CommandMapper<TVirtualView> 類別

定義

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)

類型參數

TVirtualView
繼承
CommandMapper<TVirtualView>

建構函式

CommandMapper<TVirtualView>()
CommandMapper<TVirtualView>(CommandMapper)

屬性

Chained (繼承來源 CommandMapper)
Item[String] (繼承來源 CommandMapper<TVirtualView,TViewHandler>)

方法

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>)

指定要在現有命令對應之前執行的方法。

適用於