internal WorkflowExecutor(Guid instanceId) { this._isInstanceValid = false; this._executorLock = LockFactory.CreateWorkflowExecutorLock(instanceId); this._msgDeliveryLock = LockFactory.CreateWorkflowMessageDeliveryLock(instanceId); this.stateChangedSincePersistence = true; // If DisableWorkflowDebugging switch is turned off create WorkflowDebuggerService if (!workflowDebuggingDisabled) this._workflowDebuggerService = new WorkflowDebuggerService(this); }
internal WorkflowExecutor(Guid instanceId) { this._executorLock = LockFactory.CreateWorkflowExecutorLock(instanceId); this._msgDeliveryLock = LockFactory.CreateWorkflowMessageDeliveryLock(instanceId); this.stateChangedSincePersistence = true; if (!workflowDebuggingDisabled) { this._workflowDebuggerService = new WorkflowDebuggerService(this); } }