ncoverrunnersingleton.cs

来自「SharpDevelop2.0.0 c#开发免费工具」· CS 代码 · 共 37 行

CS
37 行
字号
// <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>
	/// Single NCover runner that is used by all commands.
	/// </summary>
	/// <remarks>
	public class NCoverRunnerSingleton
	{
		static NCoverRunner runner;
		
		NCoverRunnerSingleton()
		{
		}
		
		/// <summary>
		/// Gets the <see cref="NCoverRunner"/> instance.
		/// </summary>
		public static NCoverRunner Runner {
			get {
				if (runner == null) {
					runner = new NCoverRunner();
				}
				return runner;
			}
		}
	}
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?