idisplaybinding.cs
来自「SharpDevelop2.0.0 c#开发免费工具」· CS 代码 · 共 63 行
CS
63 行
// <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.IO;
using ICSharpCode.SharpDevelop.Project;
using ICSharpCode.SharpDevelop.Gui;
namespace ICSharpCode.Core
{
/// <summary>
/// This class defines the SharpDevelop display binding interface, it is a factory
/// structure, which creates IViewContents.
/// </summary>
public interface IDisplayBinding
{
/// <remarks>
/// This function determines, if this display binding is able to create
/// an IViewContent for the file given by fileName.
/// </remarks>
/// <returns>
/// true, if this display binding is able to create
/// an IViewContent for the file given by fileName.
/// false otherwise
/// </returns>
bool CanCreateContentForFile(string fileName);
/// <remarks>
/// Creates a new IViewContent object for the file fileName
/// </remarks>
/// <returns>
/// A newly created IViewContent object.
/// </returns>
IViewContent CreateContentForFile(string fileName);
/// <remarks>
/// This function determines, if this display binding is able to create
/// an IViewContent for the language given by languageName.
/// </remarks>
/// <returns>
/// true, if this display binding is able to create
/// an IViewContent for the language given by languageName.
/// false otherwise
/// </returns>
bool CanCreateContentForLanguage(string languageName);
/// <remarks>
/// Creates a new IViewContent object for the language given by
/// languageName with the content given by content
/// </remarks>
/// <returns>
/// A newly created IViewContent object.
/// </returns>
IViewContent CreateContentForLanguage(string languageName, string content);
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?