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