This project is read-only.
1

Resolved

Add MemoryTrackingParticipant Events

description

Test code can use events to respond to things happening in the workflow
Example
host.Tracking.WorkflowIdle += (sender, wir) => { if (nextIdleCompletes) { testComplete.Set(); } };
 
other events
MemoryTrackingParticipant.WorkflowAborted
MemoryTrackingParticipant.WorkflowInstanceEvent
May possibly add more in the future.

comments

ronjacobs wrote Dec 6, 2011 at 8:41 PM

Example - Test code wants to set an event when idle after a bool value was previously set by another handler
  host.Tracking.WhenIdle(
                    (wir) =>
                        {
                            if (nextIdleCompletes)
                            {
                                testComplete.Set();
                            }
                        });

wrote Dec 9, 2011 at 3:46 PM

ronjacobs wrote Dec 9, 2011 at 3:47 PM

Decided to go with event instead of WhenIdle

wrote Dec 9, 2011 at 3:49 PM

wrote Dec 9, 2011 at 3:56 PM

wrote Jun 18, 2012 at 10:59 PM

wrote Oct 31, 2012 at 6:58 PM

wrote Feb 22, 2013 at 1:08 AM

wrote May 16, 2013 at 12:27 PM

wrote May 16, 2013 at 12:27 PM

wrote Jun 14, 2013 at 8:29 AM