public GeneralOptionsPageCustom(
     GeneralOptionPage options)
     : this()
 {
     this.options       = options;
     tbJavaPath.Text    = options.JavaPath;
     tbNpmPath.Text     = options.NpmPath;
     tbNSwagPath.Text   = options.NSwagPath;
     tbSwaggerPath.Text = options.SwaggerCodegenPath;
     tbOpenApiPath.Text = options.OpenApiGeneratorPath;
 }
Exemplo n.º 2
0
 public GeneralOptionsPageCustom(
     GeneralOptionPage options)
     : this()
 {
     this.options       = options;
     tbJavaPath.Text    = options.JavaPath;
     tbNpmPath.Text     = options.NpmPath;
     tbNSwagPath.Text   = options.NSwagPath;
     tbSwaggerPath.Text = options.SwaggerCodegenPath;
     tbOpenApiPath.Text = options.OpenApiGeneratorPath;
     cbInstallMissingPackages.Checked = options.InstallMissingPackages ?? true;
 }