/// <summary> /// Initializes private fields during class initialization /// </summary> private void Initialize() { _stepData = new StepData(); _workflowWaitlist = new List <string>(); _lastStateChange = DateTime.Now; _hasSentCompletionNotification = false; _lockObject = new object(); _timeoutMessages = new Collection <string>(); _processedMessages = new Collection <string>(); _cancelWaitEvent = new AutoResetEvent(false); _partnerLinkList = new List <PartnerLinkModel>(); }
/// <summary> /// Initializes private fields during class initialization /// </summary> private void Initialize() { _stepData = new StepData(); _workflowWaitlist = new List<string>(); _lastStateChange = DateTime.Now; _hasSentCompletionNotification = false; _lockObject = new object(); _timeoutMessages = new Collection<string>(); _processedMessages = new Collection<string>(); _cancelWaitEvent = new AutoResetEvent(false); _partnerLinkList=new List<PartnerLinkModel>(); }