EventHelper.AddEventHandler<TInterface,TImplementor> Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
public static void AddEventHandler<TInterface,TImplementor>(ref WeakReference? implementor, Func<TImplementor> creator, Action<TInterface> setListener, Action<TImplementor> add) where TImplementor : Java.Lang.Object, TInterface;
static member AddEventHandler : WeakReference * Func<'Implementor (requires 'Implementor :> Java.Lang.Object and 'Implementor :> 'Interface)> * Action<'Interface> * Action<'Implementor (requires 'Implementor :> Java.Lang.Object and 'Implementor :> 'Interface)> -> unit (requires 'Implementor :> Java.Lang.Object and 'Implementor :> 'Interface)
Parâmetros de tipo
- TInterface
- TImplementor
Parâmetros
- implementor
- WeakReference
- creator
- Func<TImplementor>
- setListener
- Action<TInterface>
- add
- Action<TImplementor>
Comentários
Partes desta página são modificações baseadas no trabalho criado e compartilhado pelo Android Open Source Project e usadas de acordo com os termos descritos na Licença de Atribuição Creative Commons 2.5.