/// <summary>
 /// Notifies all subscribers when the process completes. Can be used to initiate the start of
 /// a second process, or check the status of a completed process.
 /// </summary>
 /// <param name="returnCode">Return code corresponding to the status of the process when ended.</param>
 public virtual void RaiseProcessComplete(FireProcessReturnCodes returnCode, string message = "")
 {
     if (OnProcessCompleteEvent != null)
     {
         ProcessCompletedArgs args = new ProcessCompletedArgs(returnCode, message);
         OnProcessCompleteEvent(this, args);
     }
 }
 public ProcessCompletedArgs(FireProcessReturnCodes errorType, string message = "")
 {
     ReturnType = errorType;
     Message    = message;
 }