internal bool IsAnotherInvokeCommandExecuting(InvokeCommandCommand invokeCommand, long localPipelineId) { if ((this.currentLocalPipelineId != localPipelineId) && (this.currentLocalPipelineId != 0L)) { return(false); } if (this.currentInvokeCommand == null) { this.SetCurrentInvokeCommand(invokeCommand, localPipelineId); return(false); } if (this.currentInvokeCommand.Equals(invokeCommand)) { return(false); } return(true); }
internal void SetCurrentInvokeCommand(InvokeCommandCommand invokeCommand, long localPipelineId) { this.currentInvokeCommand = invokeCommand; this.currentLocalPipelineId = localPipelineId; }
internal void ClearInvokeCommand() { this.currentLocalPipelineId = 0L; this.currentInvokeCommand = null; }