Пример #1
0
        /// <summary>
        /// Raises the <see cref="E:ProcessOutput" /> event.	
        /// </summary>
        /// <param name="eventArgs">The <see cref="ProcessOutputEventArgs" /> instance containing the event data.</param>
        /// <remarks></remarks>
		protected virtual void OnProcessOutput(ProcessOutputEventArgs eventArgs)
		{
			EventHandler<ProcessOutputEventArgs> handler = this.ProcessOutput;
			if (handler == null)
				return;

			handler(this, eventArgs);
		}
        /// <summary>
        /// Raises the <see cref="E:ProcessOutput" /> event.
        /// </summary>
        /// <param name="eventArgs">The <see cref="ProcessOutputEventArgs" /> instance containing the event data.</param>
        /// <remarks></remarks>
        protected virtual void OnProcessOutput(ProcessOutputEventArgs eventArgs)
        {
            EventHandler <ProcessOutputEventArgs> handler = this.ProcessOutput;

            if (handler == null)
            {
                return;
            }

            handler(this, eventArgs);
        }
Пример #3
0
		private void ProcessExecutor_ProcessOutput(object sender, ProcessOutputEventArgs e)
		{
			if (_buildProgressInformation == null)
				return;

			// ignore error output in the progress information
			if (e.OutputType == ProcessOutputType.ErrorOutput)
				return;

			_buildProgressInformation.AddTaskInformation(e.Data);
		}
		private void ProcessExecutor_ProcessOutput(object sender, ProcessOutputEventArgs e)
		{
			if (buildProgressInformation == null)
				return;

			// ignore error output in the progress information
			//if (e.OutputType == ProcessOutputType.ErrorOutput)
			//	return;
            // show error output as requested by CCNET-1918:MSBuild task does not give console output error messages for report generators to use

			buildProgressInformation.AddTaskInformation(e.Data);
        }
Пример #5
0
		/// <summary>
		/// Event Handler for the ProcessOutput event of the ProcessExecutor.
		/// </summary>
		/// <param name="sender">The event sender.</param>
		/// <param name="args">The event arguments.</param>
		/// <remarks></remarks>
		private void ProcessExecutor_ProcessOutput(object sender, ProcessOutputEventArgs args)
		{
			if (_buildProgressInformation == null)
				return;

			if (args.OutputType == ProcessOutputType.ErrorOutput)
				return;

			_buildProgressInformation.AddTaskInformation(args.Data);
		}
 private void HandleProcessOutput(object sender, ProcessOutputEventArgs e)
 {
     OnOutputReceived(e.Data);
 }