示例#1
0
        private GeneratorProjectInfo(string target, string @out, IProjectGenerationError error)
        {
            this.Target = target;
            this.Out    = @out;

            this.Language                  = LanguageFactory.GetLanguage(CSharpVersion.V6);
            this.VisualStudioVersion       = VisualStudioVersion.VS2015;
            this.frameworkVersion          = FrameworkVersion.v4_6_1;
            this.IsDefaultFrameworkVersion = true;

            this.AddDocumentation     = true;
            this.RenameInvalidMembers = true;

            this.Error = error;
        }
        private GeneratorProjectInfo(string target, string @out, IProjectGenerationError error)
        {
            this.Target = target;
            this.Out = @out;

            this.Language = CSharp.GetLanguage(CSharpVersion.V4);
            this.VisualStudioVersion = VisualStudioVersion.VS2013;
            this.frameworkVersion = FrameworkVersion.v4_5_2;
            this.IsDefaultFrameworkVersion = true;

            this.AddDocumentation = true;
            this.RenameInvalidMembers = true;

            this.Error = error;
        }
        private GeneratorProjectInfo(string target, string @out, IProjectGenerationError error)
        {
            this.Target = target;
            this.Out    = @out;

            this.Language                  = LanguageFactory.GetLanguage(CSharpVersion.V7);
            this.VisualStudioVersion       = VisualStudioVersion.VS2017;
            this.frameworkVersion          = FrameworkVersion.v4_7;
            this.IsDefaultFrameworkVersion = true;

            this.AddDocumentation            = true;
            this.RenameInvalidMembers        = true;
            this.WriteLargeNumbersInHex      = true;
            this.DecompileDangerousResources = false;

            this.Error = error;
        }
示例#4
0
 public GeneratorProjectInfo(IProjectGenerationError error)
     : this(null, null, error)
 {
 }
 public GeneratorProjectInfo(IProjectGenerationError error)
     : this(null, null, error)
 {
 }