ICommandMapper<TVirtualView,TViewHandler> Interface

Definition

generic <typename TVirtualView, typename TViewHandler>
 where TVirtualView : IElement where TViewHandler : IElementHandlerpublic interface class ICommandMapper : Microsoft::Maui::ICommandMapper
public interface ICommandMapper<out TVirtualView,out TViewHandler> : Microsoft.Maui.ICommandMapper where TVirtualView : IElement where TViewHandler : IElementHandler
type ICommandMapper<'VirtualView, 'ViewHandler (requires 'VirtualView :> IElement and 'ViewHandler :> IElementHandler)> = interface
    interface ICommandMapper
Public Interface ICommandMapper(Of Out TVirtualView, Out TViewHandler)
Implements ICommandMapper

Type Parameters

TVirtualView
This type parameter is covariant. That is, you can use either the type you specified or any type that is more derived. For more information about covariance and contravariance, see Covariance and Contravariance in Generics.
TViewHandler
This type parameter is covariant. That is, you can use either the type you specified or any type that is more derived. For more information about covariance and contravariance, see Covariance and Contravariance in Generics.
Derived
Implements

Methods

Add(String, Action<TViewHandler,TVirtualView,Object>)
Add(String, Action<TViewHandler,TVirtualView>)
GetCommand(String) (Inherited from ICommandMapper)
Invoke(IElementHandler, IElement, String, Object) (Inherited from ICommandMapper)

Extension Methods

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

Specify a method to be run after an existing command mapping.

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

Modify a command mapping in place.

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

Specify a method to be run before an existing command mapping.

Applies to