Changeset 4068 for trunk/sources/HeuristicLab.Persistence.GUI/3.3
- Timestamp:
- 07/22/10 00:44:01 (14 years ago)
- Location:
- trunk/sources/HeuristicLab.Persistence.GUI/3.3
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Persistence.GUI/3.3/PersistenceAnalysis.cs
r3742 r4068 23 23 using System.Collections.Generic; 24 24 using System.Linq; 25 using System. Text;25 using System.Windows.Forms; 26 26 using HeuristicLab.Persistence.Core; 27 using System.Windows.Forms;28 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;29 using System.Reflection;30 27 31 28 namespace HeuristicLab.Persistence.GUI { … … 63 60 assembly.FullName.StartsWith("Netron")) 64 61 continue; 65 foreach (var type in assembly.GetTypes()) { 62 foreach (var type in assembly.GetTypes()) { 66 63 if (type.IsInterface || type.IsAbstract || 67 64 type.FullName.StartsWith("System.") || 68 type.FullName.StartsWith("Microsoft.") || 65 type.FullName.StartsWith("Microsoft.") || 69 66 type.FullName.Contains("<") || 70 67 type.FullName.Contains(">") || … … 74 71 DerivesFrom(typeof(System.Attribute), type) || 75 72 type.GetInterface("HeuristicLab.MainForm.IUserInterfaceItem") != null 76 ) 73 ) 77 74 continue; 78 75 try { … … 81 78 /* if (!IsCorrectlyStorable(type)) 82 79 storableInconsistentcy.Add(type); */ 83 } catch { 80 } 81 catch { 84 82 types.Add(type); 85 83 } … … 98 96 } 99 97 return true; 100 } */ 98 } */ 101 99 } 102 100 } -
trunk/sources/HeuristicLab.Persistence.GUI/3.3/PersistenceConfigurationForm.cs
r3742 r4068 27 27 using HeuristicLab.Persistence.Auxiliary; 28 28 using HeuristicLab.Persistence.Core; 29 using HeuristicLab.Persistence.Default.Xml;30 29 using HeuristicLab.Persistence.Interfaces; 31 using System.Text;32 using HeuristicLab.Persistence.Default.CompositeSerializers;33 using HeuristicLab.PluginInfrastructure;34 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;35 30 36 31 namespace HeuristicLab.Persistence.GUI { … … 59 54 ConfigurationService.Instance.LoadSettings(true); 60 55 UpdateFromConfigurationService(); 61 } catch (PersistenceException) { 56 } 57 catch (PersistenceException) { 62 58 MessageBox.Show( 63 59 "Persistence settings could not be loaded.\r\n" + … … 455 451 } 456 452 457 453 458 454 459 455 } -
trunk/sources/HeuristicLab.Persistence.GUI/3.3/TypeExtensions.cs
r3742 r4068 21 21 22 22 using System; 23 using System.Collections.Generic;24 using System.Linq;25 23 using System.Text; 26 24 … … 51 49 52 50 } 53 51 54 52 }
Note: See TracChangeset
for help on using the changeset viewer.