Example #1
0
 /// <summary>
 /// Raises the CommandQueueActionPerformed event.
 /// </summary>
 /// <param name="eventArgs">The <see cref="SD.Tools.Algorithmia.Commands.CommandQueueActionPerformedEventArgs"/> instance containing the event data.</param>
 private void RaiseCommandQueueActionPerformed(CommandQueueActionPerformedEventArgs eventArgs)
 {
     if (_raiseEvents)
     {
         this.CommandQueueActionPerformed.RaiseEvent(this, eventArgs);
     }
 }
 /// <summary>
 /// Raises the CommandQueueActionPerformed event.
 /// </summary>
 /// <param name="actionType">the type of the action</param>
 /// <param name="actionId">The id of the action</param>
 private void RaiseCommandQueueActionPerformed(CommandQueueActionType actionType, Guid actionId)
 {
     if (_raiseEvents && this.CommandQueueActionPerformed != null)
     {
         var eventArgs = new CommandQueueActionPerformedEventArgs(actionType, actionId);
         this.CommandQueueActionPerformed.RaiseEvent(this, eventArgs);
     }
 }
		/// <summary>
		/// Raises the CommandQueueActionPerformed event.
		/// </summary>
		/// <param name="eventArgs">The <see cref="SD.Tools.Algorithmia.Commands.CommandQueueActionPerformedEventArgs"/> instance containing the event data.</param>
		private void RaiseCommandQueueActionPerformed(CommandQueueActionPerformedEventArgs eventArgs)
		{
			if(_raiseEvents)
			{
				this.CommandQueueActionPerformed.RaiseEvent(this, eventArgs);
			}
		}