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