Example #1
0
 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);
 }
Example #2
0
 internal void SetCurrentInvokeCommand(InvokeCommandCommand invokeCommand, long localPipelineId)
 {
     this.currentInvokeCommand   = invokeCommand;
     this.currentLocalPipelineId = localPipelineId;
 }
Example #3
0
 internal void ClearInvokeCommand()
 {
     this.currentLocalPipelineId = 0L;
     this.currentInvokeCommand   = null;
 }