Esempio n. 1
0
        private void SetEventResultProperties(OrchestrationEvent thisEvent, OrchestrationEvent resultEvent)
        {
            if (resultEvent != null)
            {
                thisEvent.Result = resultEvent.Result;
            }

            if (string.IsNullOrEmpty(thisEvent.Name))
            {
                thisEvent.Name = thisEvent.OrchestrationStatus;
            }
        }
Esempio n. 2
0
        private void CollapseEvent(OrchestrationEvent thisEvent, IEnumerable <OrchestrationEvent> allEvents)
        {
            var resultEvent = allEvents.Where(e => e.TaskScheduledId == thisEvent.EventId).FirstOrDefault();

            SetEventResultProperties(thisEvent, resultEvent);
        }