WLib icon indicating copy to clipboard operation
WLib copied to clipboard

Consultation on missing configuration item files

Open GISerLiPengFei opened this issue 2 years ago • 1 comments

In the CodeGenerateCtrl folder of the class file "WLib. WinCtrls", the file GeneratorSettings.cs is missing, which prevents some content from being compiled and used. May I trouble you to upload it or send it to my email [email protected]. Your open-source project is really great, and I also really need it

GISerLiPengFei avatar Jan 10 '24 06:01 GISerLiPengFei

using System.Collections.Generic;

namespace WLib.WinCtrls.CodeGenerateCtrl
{
    internal class GeneratorSettings
    {
        public int DbType { get; internal set; }
        public string ConnectionString { get; internal set; }
        public string CSharpSavePath { get; internal set; }
        public CSharpSettings CSharpSettings { get; internal set; }
        public string JavaSavePath { get; internal set; }
        public JavaSettings JavaSettings { get; internal set; }
    }

    internal class CSharpSettings
    {
        public string NameSpace { get; internal set; }
        public string Inherits { get; internal set; }
        public List<string> Usings { get; internal set; }
        public List<string> ClassAttributes { get; internal set; }
        public List<string> PropertyAttributes { get; internal set; }
    }
    internal class JavaSettings
    {
        public string Package { get; internal set; }
        public string Extends { get; internal set; }
        public string Implements { get; internal set; }
        public List<string> Imports { get; internal set; }
        public List<string> ClassAnnotations { get; internal set; }
        public List<string> PropertyAnnotations { get; internal set; }
    }
}

CHENGPUYUAN avatar Feb 22 '25 10:02 CHENGPUYUAN