Class CWPEventHelper
Provides helper methods for executing event-driven workflows in the Cancellable Work Pattern (CWP).
public static class CWPEventHelper
- Inheritance
-
CWPEventHelper
- Inherited Members
Remarks
Used for workflows where an event is raised to allow cancellation or customization of a result, such as in RaiseKeyDownEvent(Key). The Execute<T>(EventHandler<ResultEventArgs<T>>?, ResultEventArgs<T>) method invokes an event handler and returns whether the operation was handled, supporting result production scenarios with ResultEventArgs<T>.
Methods
- Execute<T>(EventHandler<ResultEventArgs<T>>?, ResultEventArgs<T>)
Executes an event-driven CWP workflow by raising an event.