public void ConstructorSetsProperties()
 {
     var data = "Some Data";
     var outputType = ProcessOutputType.ErrorOutput;
     var args = new ProcessOutputEventArgs(outputType, data);
     Assert.AreEqual(outputType, args.OutputType);
     Assert.AreEqual(data, args.Data);
 }
            /// <summary>
            /// Raises the <see cref="ProcessOutput"/> event.
            /// </summary>
            /// <param name="eventArgs">The <see cref="CruiseControl.Core.Utilities.ProcessOutputEventArgs"/> instance containing the event data.</param>
            private void OnProcessOutput(ProcessOutputEventArgs eventArgs)
            {
                var handler = this.ProcessOutput;

                if (handler != null)
                {
                    handler(this, eventArgs);
                }
            }
        /// <summary>
        /// Raises the <see cref="ProcessOutput"/> event.
        /// </summary>
        /// <param name="eventArgs">The <see cref="CruiseControl.Core.Utilities.ProcessOutputEventArgs"/> instance containing the event data.</param>
        protected virtual void OnProcessOutput(ProcessOutputEventArgs eventArgs)
        {
            var handler = this.ProcessOutput;

            if (handler != null)
            {
                handler(this, eventArgs);
            }
        }
 /// <summary>
 /// Raises the <see cref="ProcessOutput"/> event.
 /// </summary>
 /// <param name="eventArgs">The <see cref="CruiseControl.Core.Utilities.ProcessOutputEventArgs"/> instance containing the event data.</param>
 private void OnProcessOutput(ProcessOutputEventArgs eventArgs)
 {
     var handler = this.ProcessOutput;
     if (handler != null)
     {
         handler(this, eventArgs);
     }
 }
 /// <summary>
 /// Raises the <see cref="ProcessOutput"/> event.
 /// </summary>
 /// <param name="eventArgs">The <see cref="CruiseControl.Core.Utilities.ProcessOutputEventArgs"/> instance containing the event data.</param>
 protected virtual void OnProcessOutput(ProcessOutputEventArgs eventArgs)
 {
     var handler = this.ProcessOutput;
     if (handler != null)
     {
         handler(this, eventArgs);
     }
 }