CommandMapper<TVirtualView,TViewHandler>.Add Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Add(String, Action<TViewHandler,TVirtualView,Object>) | |
Add(String, Action<TViewHandler,TVirtualView>) |
Add(String, Action<TViewHandler,TVirtualView,Object>)
- Source:
- CommandMapper.cs
- Source:
- CommandMapper.cs
public:
virtual void Add(System::String ^ key, Action<TViewHandler, TVirtualView, System::Object ^> ^ action);
public void Add (string key, Action<TViewHandler,TVirtualView,object?> action);
abstract member Add : string * Action<'ViewHandler, 'VirtualView, obj (requires 'ViewHandler :> Microsoft.Maui.IElementHandler and 'VirtualView :> Microsoft.Maui.IElement)> -> unit
override this.Add : string * Action<'ViewHandler, 'VirtualView, obj (requires 'ViewHandler :> Microsoft.Maui.IElementHandler and 'VirtualView :> Microsoft.Maui.IElement)> -> unit
Public Sub Add (key As String, action As Action(Of TViewHandler, TVirtualView, Object))
Parameters
- key
- String
Implements
Applies to
Add(String, Action<TViewHandler,TVirtualView>)
- Source:
- CommandMapper.cs
- Source:
- CommandMapper.cs
public:
virtual void Add(System::String ^ key, Action<TViewHandler, TVirtualView> ^ action);
public void Add (string key, Action<TViewHandler,TVirtualView> action);
abstract member Add : string * Action<'ViewHandler, 'VirtualView (requires 'ViewHandler :> Microsoft.Maui.IElementHandler and 'VirtualView :> Microsoft.Maui.IElement)> -> unit
override this.Add : string * Action<'ViewHandler, 'VirtualView (requires 'ViewHandler :> Microsoft.Maui.IElementHandler and 'VirtualView :> Microsoft.Maui.IElement)> -> unit
Public Sub Add (key As String, action As Action(Of TViewHandler, TVirtualView))
Parameters
- key
- String
- action
- Action<TViewHandler,TVirtualView>
Implements
Applies to
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.