miniSql

6136600 » zgc123@gmail.com
11/19/2023 创建
#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
{
    /// <summary>The basic aspx editor.</summary>
    public class BasicAspxEditor : BasicEditor
    {
        /// <summary>Initializes a new instance of the <see cref="BasicAspxEditor"/> class.</summary>
        /// <param name="services">The services.</param>
        /// <param name="settings">The settings.</param>
        public BasicAspxEditor(IApplicationServices services, IApplicationSettings settings) : base(services, settings)
        {
            SetSyntax("ASP/XHTML");
        }

        /// <summary>Gets FileFilter.</summary>
        public override string FileFilter
        {
0ced910 » zgc123@gmail.com
11/28/2023 vs2019汉化99%
            get { return "ASPX 文件 (*.asp;*.aspx;*.asax;*.asmx)|*.asp;*.aspx;*.asax;*.asmx|所有文件 (*.*)|*.*"; }
6136600 » zgc123@gmail.com
11/19/2023 创建
        }
    }

    /// <summary>The basic batch editor.</summary>
    public class BasicBatchEditor : BasicEditor
    {
        /// <summary>Initializes a new instance of the <see cref="BasicBatchEditor"/> class.</summary>
        /// <param name="services">The services.</param>
        /// <param name="settings">The settings.</param>
        public BasicBatchEditor(IApplicationServices services, IApplicationSettings settings) : base(services, settings)
        {
            SetSyntax("BAT");
        }

        /// <summary>Gets FileFilter.</summary>
        public override string FileFilter
        {
0ced910 » zgc123@gmail.com
11/28/2023 vs2019汉化99%
            get { return "批处理文件 (*.bat;*.cmd)|*.bat;*.cmd|所有文件 (*.*)|*.*"; }
6136600 » zgc123@gmail.com
11/19/2023 创建
        }
    }

    /// <summary>The basic boo editor.</summary>
    public class BasicBooEditor : BasicEditor
    {
        /// <summary>Initializes a new instance of the <see cref="BasicBooEditor"/> class.</summary>
        /// <param name="services">The services.</param>
        /// <param name="settings">The settings.</param>
        public BasicBooEditor(IApplicationServices services, IApplicationSettings settings) : base(services, settings)
        {
            SetSyntax("Boo");
        }

        /// <summary>Gets FileFilter.</summary>
        public override string FileFilter
        {
0ced910 » zgc123@gmail.com
11/28/2023 vs2019汉化99%
            get { return "BOO 文件 (*.boo)|*.boo|所有文件 (*.*)|*.*"; }
6136600 » zgc123@gmail.com
11/19/2023 创建
        }
    }

    /// <summary>The basic coco editor.</summary>
    public class BasicCocoEditor : BasicEditor
    {
        /// <summary>Initializes a new instance of the <see cref="BasicCocoEditor"/> class.</summary>
        /// <param name="services">The services.</param>
        /// <param name="settings">The settings.</param>
        public BasicCocoEditor(IApplicationServices services, IApplicationSettings settings) : base(services, settings)
        {
            SetSyntax("Coco");
        }

        /// <summary>Gets FileFilter.</summary>
        public override string FileFilter
        {
0ced910 » zgc123@gmail.com
11/28/2023 vs2019汉化99%
            get { return "Coco 文件 (*.atg)|*.atg|所有文件 (*.*)|*.*"; }
6136600 » zgc123@gmail.com
11/19/2023 创建
        }
    }

    /// <summary>The basic c plus plus editor.</summary>
    public class BasicCPlusPlusEditor : BasicEditor
    {
        /// <summary>Initializes a new instance of the <see cref="BasicCPlusPlusEditor"/> class.</summary>
        /// <param name="services">The services.</param>
        /// <param name="settings">The settings.</param>
        public BasicCPlusPlusEditor(IApplicationServices services, IApplicationSettings settings) : base(services, settings)
        {
            SetSyntax("C++.NET");
        }

        /// <summary>Gets FileFilter.</summary>
        public override string FileFilter
        {
0ced910 » zgc123@gmail.com
11/28/2023 vs2019汉化99%
            get { return "C++ 文件 (*.cpp;*.cc;*.c;*.h)|*.cpp;*.cc;*.c;*.h|所有文件(*.*)|*.*"; }
6136600 » zgc123@gmail.com
11/19/2023 创建
        }
    }

    /// <summary>The basic c sharp editor.</summary>
    public class BasicCSharpEditor : BasicEditor
    {
        /// <summary>Initializes a new instance of the <see cref="BasicCSharpEditor"/> class.</summary>
        /// <param name="services">The services.</param>
        /// <param name="settings">The settings.</param>
        public BasicCSharpEditor(IApplicationServices services, IApplicationSettings settings) : base(services, settings)
        {
            SetSyntax("C#");
        }

        /// <summary>Gets FileFilter.</summary>
        public override string FileFilter
        {
0ced910 » zgc123@gmail.com
11/28/2023 vs2019汉化99%
            get { return "C# 文件 (*.cs)|*.cs|所有文件 (*.*)|*.*"; }
6136600 » zgc123@gmail.com
11/19/2023 创建
        }
    }

    /// <summary>The basic html editor.</summary>
    public class BasicHtmlEditor : BasicEditor
    {
        /// <summary>Initializes a new instance of the <see cref="BasicHtmlEditor"/> class.</summary>
        /// <param name="services">The services.</param>
        /// <param name="settings">The settings.</param>
        public BasicHtmlEditor(IApplicationServices services, IApplicationSettings settings) : base(services, settings)
        {
            SetSyntax("HTML");
        }

        /// <summary>Gets FileFilter.</summary>
        public override string FileFilter
        {
0ced910 » zgc123@gmail.com
11/28/2023 vs2019汉化99%
            get { return "HTML 文件(*.htm*)|*.htm*|所有文件 (*.*)|*.*"; }
6136600 » zgc123@gmail.com
11/19/2023 创建
        }
    }

    /// <summary>The basic java editor.</summary>
    public class BasicJavaEditor : BasicEditor
    {
        /// <summary>Initializes a new instance of the <see cref="BasicJavaEditor"/> class.</summary>
        /// <param name="services">The services.</param>
        /// <param name="settings">The settings.</param>
        public BasicJavaEditor(IApplicationServices services, IApplicationSettings settings) : base(services, settings)
        {
            SetSyntax("Java");
        }

        /// <summary>Gets FileFilter.</summary>
        public override string FileFilter
        {
0ced910 » zgc123@gmail.com
11/28/2023 vs2019汉化99%
            get { return "Java 文件 (*.java)|*.java|所有文件 (*.*)|*.*"; }
6136600 » zgc123@gmail.com
11/19/2023 创建
        }
    }

    /// <summary>The basic java script editor.</summary>
    public class BasicJavaScriptEditor : BasicEditor
    {
        /// <summary>Initializes a new instance of the <see cref="BasicJavaScriptEditor"/> class.</summary>
        /// <param name="services">The services.</param>
        /// <param name="settings">The settings.</param>
        public BasicJavaScriptEditor(IApplicationServices services, IApplicationSettings settings) : base(services, settings)
        {
            SetSyntax("JavaScript");
        }

        /// <summary>Gets FileFilter.</summary>
        public override string FileFilter
        {
0ced910 » zgc123@gmail.com
11/28/2023 vs2019汉化99%
            get { return "JavaScript脚本文件 (*.js)|*.js|所有文件 (*.*)|*.*"; }
6136600 » zgc123@gmail.com
11/19/2023 创建
        }
    }

    /// <summary>The basic patch editor.</summary>
    public class BasicPatchEditor : BasicEditor
    {
        /// <summary>Initializes a new instance of the <see cref="BasicPatchEditor"/> class.</summary>
        /// <param name="services">The services.</param>
        /// <param name="settings">The settings.</param>
        public BasicPatchEditor(IApplicationServices services, IApplicationSettings settings) : base(services, settings)
        {
            SetSyntax("Patch");
        }

        /// <summary>Gets FileFilter.</summary>
        public override string FileFilter
        {
0ced910 » zgc123@gmail.com
11/28/2023 vs2019汉化99%
            get { return "Patch 文件 (*.patch;*.diff)|*.patch;*.diff|所有文件 (*.*)|*.*"; }
6136600 » zgc123@gmail.com
11/19/2023 创建
        }
    }

    /// <summary>The basic php editor.</summary>
    public class BasicPhpEditor : BasicEditor
    {
        /// <summary>Initializes a new instance of the <see cref="BasicPhpEditor"/> class.</summary>
        /// <param name="services">The services.</param>
        /// <param name="settings">The settings.</param>
        public BasicPhpEditor(IApplicationServices services, IApplicationSettings settings) : base(services, settings)
        {
            SetSyntax("PHP");
        }

        /// <summary>Gets FileFilter.</summary>
        public override string FileFilter
        {
0ced910 » zgc123@gmail.com
11/28/2023 vs2019汉化99%
            get { return "PHP文件 (*.php*)|*.php*|所有文件 (*.*)|*.*"; }
6136600 » zgc123@gmail.com
11/19/2023 创建
        }
    }

    /// <summary>The basic tex editor.</summary>
    public class BasicTexEditor : BasicEditor
    {
        /// <summary>Initializes a new instance of the <see cref="BasicTexEditor"/> class.</summary>
        /// <param name="services">The services.</param>
        /// <param name="settings">The settings.</param>
        public BasicTexEditor(IApplicationServices services, IApplicationSettings settings) : base(services, settings)
        {
            SetSyntax("TeX");
        }

        /// <summary>Gets FileFilter.</summary>
        public override string FileFilter
        {
0ced910 » zgc123@gmail.com
11/28/2023 vs2019汉化99%
            get { return "TeX 文件 (*.tex)|*.tex|所有文件(*.*)|*.*"; }
6136600 » zgc123@gmail.com
11/19/2023 创建
        }
    }

    /// <summary>The basic vb net editor.</summary>
    public class BasicVbNetEditor : BasicEditor
    {
        /// <summary>Initializes a new instance of the <see cref="BasicVbNetEditor"/> class.</summary>
        /// <param name="services">The services.</param>
        /// <param name="settings">The settings.</param>
        public BasicVbNetEditor(IApplicationServices services, IApplicationSettings settings) : base(services, settings)
        {
            SetSyntax("VBNET");
        }

        /// <summary>Gets FileFilter.</summary>
        public override string FileFilter
        {
0ced910 » zgc123@gmail.com
11/28/2023 vs2019汉化99%
            get { return "VB.NET 文件 (*.vb)|*.vb|所有文件 (*.*)|*.*"; }
6136600 » zgc123@gmail.com
11/19/2023 创建
        }
    }

    /// <summary>The basic xml editor.</summary>
    public class BasicXmlEditor : BasicEditor
    {
        /// <summary>Initializes a new instance of the <see cref="BasicXmlEditor"/> class.</summary>
        /// <param name="services">The services.</param>
        /// <param name="settings">The settings.</param>
        public BasicXmlEditor(IApplicationServices services, IApplicationSettings settings) : base(services, settings)
        {
            SetSyntax("XML");
        }

        /// <summary>Gets FileFilter.</summary>
        public override string FileFilter
        {
0ced910 » zgc123@gmail.com
11/28/2023 vs2019汉化99%
            get { return "XML 文件 (*.xml;*.resx)|*.xml;*.resx|所有文件 (*.*)|*.*"; }
6136600 » zgc123@gmail.com
11/19/2023 创建
        }
    }
}