public CodeExportConfigControl() { InitializeComponent(); this._schemaExporter = new CodeSchemaExporter(); _exportConfig = new CodeExportConfig(); _symbolManager = new ContentSymbolManager(); _exportConfig.SymbolModifier = new PascalSymbolModifier(); this.Load += CodeExportConfigControl_Load; }
/// <summary> /// 继承自 <see cref="BaseExportConfigControl.ImportConfigInfo(String)"/> /// </summary> /// <param name="configString"></param> public override void ImportConfigInfo(String configString) { try { _exportConfig = JsonSerializer.Deserialize <CodeExportConfig>(configString); } catch { } }