CommandMapper<TVirtualView,TViewHandler> 类

定义

generic <typename TVirtualView, typename TViewHandler>
 where TVirtualView : IElement where TViewHandler : IElementHandlerpublic ref class CommandMapper : Microsoft::Maui::CommandMapper, Microsoft::Maui::ICommandMapper<TVirtualView, TViewHandler>
public class CommandMapper<TVirtualView,TViewHandler> : Microsoft.Maui.CommandMapper, Microsoft.Maui.ICommandMapper<TVirtualView,TViewHandler> where TVirtualView : IElement where TViewHandler : IElementHandler
type CommandMapper<'VirtualView, 'ViewHandler (requires 'VirtualView :> IElement and 'ViewHandler :> IElementHandler)> = class
    inherit CommandMapper
    interface ICommandMapper<'VirtualView, 'ViewHandler (requires 'VirtualView :> IElement and 'ViewHandler :> IElementHandler)>
    interface ICommandMapper
Public Class CommandMapper(Of TVirtualView, TViewHandler)
Inherits CommandMapper
Implements ICommandMapper(Of TVirtualView, TViewHandler)

类型参数

TVirtualView
TViewHandler
继承
CommandMapper<TVirtualView,TViewHandler>
派生
实现

构造函数

CommandMapper<TVirtualView,TViewHandler>()
CommandMapper<TVirtualView,TViewHandler>(CommandMapper)

属性

Chained (继承自 CommandMapper)
Item[String]

方法

Add(String, Action<TViewHandler,TVirtualView,Object>)
Add(String, Action<TViewHandler,TVirtualView>)
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>)

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

适用于