#region License // Copyright 2005-2019 Paul Kohler (https://github.com/paulkohler/minisqlquery). All rights reserved. // This source code is made available under the terms of the GNU Lesser General Public License v3.0 // https://github.com/paulkohler/minisqlquery/blob/master/LICENSE #endregion using MiniSqlQuery.Core; namespace MiniSqlQuery { /// The basic aspx editor. public class BasicAspxEditor : BasicEditor { /// Initializes a new instance of the class. /// The services. /// The settings. public BasicAspxEditor(IApplicationServices services, IApplicationSettings settings) : base(services, settings) { SetSyntax("ASP/XHTML"); } /// Gets FileFilter. public override string FileFilter { get { return "ASPX 文件 (*.asp;*.aspx;*.asax;*.asmx)|*.asp;*.aspx;*.asax;*.asmx|所有文件 (*.*)|*.*"; } } } /// The basic batch editor. public class BasicBatchEditor : BasicEditor { /// Initializes a new instance of the class. /// The services. /// The settings. public BasicBatchEditor(IApplicationServices services, IApplicationSettings settings) : base(services, settings) { SetSyntax("BAT"); } /// Gets FileFilter. public override string FileFilter { get { return "批处理文件 (*.bat;*.cmd)|*.bat;*.cmd|所有文件 (*.*)|*.*"; } } } /// The basic boo editor. public class BasicBooEditor : BasicEditor { /// Initializes a new instance of the class. /// The services. /// The settings. public BasicBooEditor(IApplicationServices services, IApplicationSettings settings) : base(services, settings) { SetSyntax("Boo"); } /// Gets FileFilter. public override string FileFilter { get { return "BOO 文件 (*.boo)|*.boo|所有文件 (*.*)|*.*"; } } } /// The basic coco editor. public class BasicCocoEditor : BasicEditor { /// Initializes a new instance of the class. /// The services. /// The settings. public BasicCocoEditor(IApplicationServices services, IApplicationSettings settings) : base(services, settings) { SetSyntax("Coco"); } /// Gets FileFilter. public override string FileFilter { get { return "Coco 文件 (*.atg)|*.atg|所有文件 (*.*)|*.*"; } } } /// The basic c plus plus editor. public class BasicCPlusPlusEditor : BasicEditor { /// Initializes a new instance of the class. /// The services. /// The settings. public BasicCPlusPlusEditor(IApplicationServices services, IApplicationSettings settings) : base(services, settings) { SetSyntax("C++.NET"); } /// Gets FileFilter. public override string FileFilter { get { return "C++ 文件 (*.cpp;*.cc;*.c;*.h)|*.cpp;*.cc;*.c;*.h|所有文件(*.*)|*.*"; } } } /// The basic c sharp editor. public class BasicCSharpEditor : BasicEditor { /// Initializes a new instance of the class. /// The services. /// The settings. public BasicCSharpEditor(IApplicationServices services, IApplicationSettings settings) : base(services, settings) { SetSyntax("C#"); } /// Gets FileFilter. public override string FileFilter { get { return "C# 文件 (*.cs)|*.cs|所有文件 (*.*)|*.*"; } } } /// The basic html editor. public class BasicHtmlEditor : BasicEditor { /// Initializes a new instance of the class. /// The services. /// The settings. public BasicHtmlEditor(IApplicationServices services, IApplicationSettings settings) : base(services, settings) { SetSyntax("HTML"); } /// Gets FileFilter. public override string FileFilter { get { return "HTML 文件(*.htm*)|*.htm*|所有文件 (*.*)|*.*"; } } } /// The basic java editor. public class BasicJavaEditor : BasicEditor { /// Initializes a new instance of the class. /// The services. /// The settings. public BasicJavaEditor(IApplicationServices services, IApplicationSettings settings) : base(services, settings) { SetSyntax("Java"); } /// Gets FileFilter. public override string FileFilter { get { return "Java 文件 (*.java)|*.java|所有文件 (*.*)|*.*"; } } } /// The basic java script editor. public class BasicJavaScriptEditor : BasicEditor { /// Initializes a new instance of the class. /// The services. /// The settings. public BasicJavaScriptEditor(IApplicationServices services, IApplicationSettings settings) : base(services, settings) { SetSyntax("JavaScript"); } /// Gets FileFilter. public override string FileFilter { get { return "JavaScript脚本文件 (*.js)|*.js|所有文件 (*.*)|*.*"; } } } /// The basic patch editor. public class BasicPatchEditor : BasicEditor { /// Initializes a new instance of the class. /// The services. /// The settings. public BasicPatchEditor(IApplicationServices services, IApplicationSettings settings) : base(services, settings) { SetSyntax("Patch"); } /// Gets FileFilter. public override string FileFilter { get { return "Patch 文件 (*.patch;*.diff)|*.patch;*.diff|所有文件 (*.*)|*.*"; } } } /// The basic php editor. public class BasicPhpEditor : BasicEditor { /// Initializes a new instance of the class. /// The services. /// The settings. public BasicPhpEditor(IApplicationServices services, IApplicationSettings settings) : base(services, settings) { SetSyntax("PHP"); } /// Gets FileFilter. public override string FileFilter { get { return "PHP文件 (*.php*)|*.php*|所有文件 (*.*)|*.*"; } } } /// The basic tex editor. public class BasicTexEditor : BasicEditor { /// Initializes a new instance of the class. /// The services. /// The settings. public BasicTexEditor(IApplicationServices services, IApplicationSettings settings) : base(services, settings) { SetSyntax("TeX"); } /// Gets FileFilter. public override string FileFilter { get { return "TeX 文件 (*.tex)|*.tex|所有文件(*.*)|*.*"; } } } /// The basic vb net editor. public class BasicVbNetEditor : BasicEditor { /// Initializes a new instance of the class. /// The services. /// The settings. public BasicVbNetEditor(IApplicationServices services, IApplicationSettings settings) : base(services, settings) { SetSyntax("VBNET"); } /// Gets FileFilter. public override string FileFilter { get { return "VB.NET 文件 (*.vb)|*.vb|所有文件 (*.*)|*.*"; } } } /// The basic xml editor. public class BasicXmlEditor : BasicEditor { /// Initializes a new instance of the class. /// The services. /// The settings. public BasicXmlEditor(IApplicationServices services, IApplicationSettings settings) : base(services, settings) { SetSyntax("XML"); } /// Gets FileFilter. public override string FileFilter { get { return "XML 文件 (*.xml;*.resx)|*.xml;*.resx|所有文件 (*.*)|*.*"; } } } }