Struttura InvokeHelper
Supporta l'infrastruttura WRL e non può essere utilizzata direttamente dal proprio codice.
template<
typename TDelegateInterface,
typename TCallback,
unsigned int argCount
>
struct InvokeHelper;
template<
typename TDelegateInterface,
typename TCallback
>
struct InvokeHelper<TDelegateInterface, TCallback, 0> : public Microsoft::WRL::RuntimeClass<RuntimeClassFlags<Delegate>, TDelegateInterface>;
template<
typename TDelegateInterface,
typename TCallback
>
struct InvokeHelper<TDelegateInterface, TCallback, 1> : public Microsoft::WRL::RuntimeClass<RuntimeClassFlags<Delegate>, TDelegateInterface>;
template<
typename TDelegateInterface,
typename TCallback
>
struct InvokeHelper<TDelegateInterface, TCallback, 2> : public Microsoft::WRL::RuntimeClass<RuntimeClassFlags<Delegate>, TDelegateInterface>;
template<
typename TDelegateInterface,
typename TCallback
>
struct InvokeHelper<TDelegateInterface, TCallback, 3> : public Microsoft::WRL::RuntimeClass<RuntimeClassFlags<Delegate>, TDelegateInterface>;
template<
typename TDelegateInterface,
typename TCallback
>
struct InvokeHelper<TDelegateInterface, TCallback, 4> : Microsoft::WRL::RuntimeClass<RuntimeClassFlags<Delegate>, TDelegateInterface>;
template<
typename TDelegateInterface,
typename TCallback
>
struct InvokeHelper<TDelegateInterface, TCallback, 5> : Microsoft::WRL::RuntimeClass<RuntimeClassFlags<Delegate>, TDelegateInterface>;
template<
typename TDelegateInterface,
typename TCallback
>
struct InvokeHelper<TDelegateInterface, TCallback, 6> : Microsoft::WRL::RuntimeClass<RuntimeClassFlags<Delegate>, TDelegateInterface>;
template<
typename TDelegateInterface,
typename TCallback
>
struct InvokeHelper<TDelegateInterface, TCallback, 7> : Microsoft::WRL::RuntimeClass<RuntimeClassFlags<Delegate>, TDelegateInterface>;
template<
typename TDelegateInterface,
typename TCallback
>
struct InvokeHelper<TDelegateInterface, TCallback, 8> : Microsoft::WRL::RuntimeClass<RuntimeClassFlags<Delegate>, TDelegateInterface>;
template<
typename TDelegateInterface,
typename TCallback
>
struct InvokeHelper<TDelegateInterface, TCallback, 9> : Microsoft::WRL::RuntimeClass<RuntimeClassFlags<Delegate>, TDelegateInterface>;
Parametri
TDelegateInterface
TCallback
Il tipo della funzione del gestore eventi.argCount
Il numero di argomenti in una specializzazione InvokeHelper.
Note
Fornisce un'implementazione del metodo Invoke() basato sul numero specificato e sul tipo di argomenti.
Membri
Typedef pubblici
Nome |
Descrizione |
---|---|
Traits |
Un sinonimo per la classe che definisce il tipo di ciascun argomento del gestore eventi. |
Costruttori pubblici
Nome |
Descrizione |
---|---|
Inizializza una nuova istanza della classe InvokeHelper. |
Metodi pubblici
Nome |
Descrizione |
---|---|
Chiama il gestore eventi la cui firma contiene il numero specificato di argomenti. |
Membri dati pubblici
Nome |
Descrizione |
---|---|
Rappresenta il gestore eventi da chiamare quando si verifica un evento . |
Gerarchia di ereditarietà
InvokeHelper
Requisiti
Header: event.h
Namespace: Microsoft::WRL::Details