CommandMapperExtensions 类

定义

public ref class CommandMapperExtensions abstract sealed
public static class CommandMapperExtensions
type CommandMapperExtensions = class
Public Module CommandMapperExtensions
继承
CommandMapperExtensions

方法

AppendToMapping<TVirtualView,TViewHandler>(CommandMapper<TVirtualView,TViewHandler>, String, Action<TViewHandler,TVirtualView,Object>)

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

AppendToMapping<TVirtualView,TViewHandler>(ICommandMapper<IElement,IElementHandler>, 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<IElement, IElementHandler>, 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<IElement,IElementHandler>, String, Action<TViewHandler,TVirtualView,Object>)

指定要在现有命令映射之前运行的方法,但如果类型不匹配,则跳过。

PrependToMapping<TVirtualView,TViewHandler>(ICommandMapper<TVirtualView,TViewHandler>, String, Action<TViewHandler,TVirtualView,Object>)

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

ReplaceMapping<TVirtualView,TViewHandler>(ICommandMapper<IElement,IElementHandler>, String, Action<TViewHandler,TVirtualView,Object>)

就地替换命令映射,但如果类型不匹配,则调用以前的映射。

适用于