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

指定要在现有命令映射之前运行的方法。

适用于