共用方式為


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

取代就地的命令對應,但如果類型不相符,請呼叫先前的對應。

適用於