📄 combineopenevaluator.cs
字号:
// <file>
// <copyright see="prj:///doc/copyright.txt"/>
// <license see="prj:///doc/license.txt"/>
// <owner name="Mike Krüger" email="mike@icsharpcode.net"/>
// <version>$Revision: 915 $</version>
// </file>
using System;
using System.Xml;
using ICSharpCode.SharpDevelop.Project;
using ICSharpCode.SharpDevelop.Gui;
namespace ICSharpCode.Core
{
/// <summary>
/// Tests if a solution is open.
/// </summary>
/// <example title="Test if a solution is opened">
/// <Condition name = "SolutionOpen">
/// </example>
public class SolutionOpenConditionEvaluator : IConditionEvaluator
{
public bool IsValid(object caller, Condition condition)
{
return (ProjectService.OpenSolution != null);
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -