projectopenevaluator.cs

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

CS
35
字号
// <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.Collections;
using System.Xml;

using ICSharpCode.SharpDevelop.Gui;
using ICSharpCode.Core;
using ICSharpCode.SharpDevelop.Project;

namespace ICSharpCode.Core
{
/*
	public class ProjectOpenConditionEvaluator : IConditionEvaluator
	{
		public bool IsValid(object caller, Condition condition)
		{
			IProject project = ProjectService.CurrentProject;
			
			string openproject = condition.Properties["activeproject"];
			
			if (openproject == "*") {
				return project != null;
			}
			return project != null && project.Language == openproject;
		}
	}
*/
}

⌨️ 快捷键说明

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