Static Public Member Functions | |
| static void | Invoke (this MessageActionBase action, EventArgs messageArgs) |
| Invokes a TriggerAction with the specified parameter. More... | |
| static void | InvokeWithContent< T > (this MessageActionBase action, T messageContent) |
| static void | Invoke (this MessageActionBase action) |
| Invokes a TriggerAction and sets the Content property to a newly created Messaging.MessageArgs object . More... | |
Definition at line 24 of file MessageActionExtensions.cs.
|
inlinestatic |
Invokes a TriggerAction with the specified parameter.
| messageArgs | A MessageArgs<T> object. |
After http://stackoverflow.com/a/12977944/270712.
The messageArgs parameter should be a MessageArgs<T> object. However, because a generic class cannot be passed as a parameter without specifying the type parameter, the parameter class EventArgs is used, which is the direct ancestor of MessageArgs<T>.
Definition at line 41 of file MessageActionExtensions.cs.
|
inlinestatic |
Invokes a TriggerAction and sets the Content property to a newly created Messaging.MessageArgs object .
Definition at line 77 of file MessageActionExtensions.cs.