1
// Copyright (c) AlphaSierraPapa for the SharpDevelop Team (for details please see \doc\copyright.txt)
2
// This code is distributed under the GNU LGPL (for details please see \doc\license.txt)
5
using ICSharpCode.Core;
6
using ICSharpCode.SharpDevelop.Project;
8
namespace ICSharpCode.SharpDevelop
11
/// Tests if a solution is open.
13
/// <example title="Test if a solution is opened">
14
/// <Condition name = "SolutionOpen">
16
public class SolutionOpenConditionEvaluator : IConditionEvaluator
18
public bool IsValid(object caller, Condition condition)
20
return (ProjectService.OpenSolution != null);