nantexiteventargs.cs
来自「SharpDevelop2.0.0 c#开发免费工具」· CS 代码 · 共 60 行
CS
60 行
// <file>
// <copyright see="prj:///doc/copyright.txt"/>
// <license see="prj:///doc/license.txt"/>
// <owner name="Matthew Ward" email="mrward@users.sourceforge.net"/>
// <version>$Revision: 915 $</version>
// </file>
using System;
namespace ICSharpCode.NAntAddIn
{
/// <summary>
/// Represents the method that will handle the
/// <see cref="NAntRunner.NAntExit"/> event.
/// </summary>
public delegate void NAntExitEventHandler(object sender, NAntExitEventArgs e);
/// <summary>
/// The <see cref="NAntRunner.NAntExit"/> event arguments.
/// </summary>
public class NAntExitEventArgs : EventArgs
{
string output;
int exitCode;
string error;
public NAntExitEventArgs(string output, string error, int exitCode)
{
this.output = output;
this.error = error;
this.exitCode = exitCode;
}
/// <summary>
/// Gets the command line output from NAnt.
/// </summary>
public string Output {
get {
return output;
}
}
public string Error {
get {
return error;
}
}
/// <summary>
/// Gets the NAnt exit code.
/// </summary>
public int ExitCode {
get {
return exitCode;
}
}
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?