private HistoryEvent SimulatedHistoryEvent() { var historyEvent = new HistoryEvent(); historyEvent.EventId = long.MaxValue - _data.TriggerEventId; historyEvent.EventType = EventType.MarkerRecorded; var attr = new MarkerRecordedEventAttributes(); attr.MarkerName = InternalMarkerNames.WorkflowItemWaitForSignals; attr.Details = _data.ToJson(); historyEvent.MarkerRecordedEventAttributes = attr; return(historyEvent); }
internal MarkerRecordedEvent(HistoryEvent markerRecordedEvent) : base(markerRecordedEvent.EventId) { _eventAttributes = markerRecordedEvent.MarkerRecordedEventAttributes; }