Changeset 4068 for trunk/sources/HeuristicLab.Operators.Programmable
- Timestamp:
- 07/22/10 00:44:01 (14 years ago)
- Location:
- trunk/sources/HeuristicLab.Operators.Programmable/3.3
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Operators.Programmable/3.3/ProgrammableOperator.cs
r3903 r4068 21 21 22 22 using System; 23 using System.CodeDom; 24 using System.CodeDom.Compiler; 23 25 using System.Collections.Generic; 24 using System.Text;25 using System.Xml;26 26 using System.IO; 27 27 using System.Linq; 28 28 using System.Reflection; 29 using System.CodeDom; 30 using System.CodeDom.Compiler; 31 using Microsoft.CSharp; 29 using System.Text; 32 30 using System.Text.RegularExpressions; 31 using HeuristicLab.Collections; 33 32 using HeuristicLab.Common; 34 33 using HeuristicLab.Core; 35 using HeuristicLab.Data; 36 using System.Data.Linq; 37 using System.Xml.XPath; 34 using HeuristicLab.Persistence.Auxiliary; 35 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 38 36 using HeuristicLab.PluginInfrastructure; 39 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 40 using HeuristicLab.Persistence.Auxiliary; 41 using HeuristicLab.Collections; 37 using Microsoft.CSharp; 42 38 43 39 namespace HeuristicLab.Operators.Programmable { … … 80 76 protected Dictionary<Assembly, bool> Assemblies; 81 77 82 [Storable(Name ="SelectedAssemblies")]78 [Storable(Name = "SelectedAssemblies")] 83 79 private List<string> _selectedAssemblyNames_persistence { 84 80 get { 85 return Assemblies.Where(a => a.Value).Select(a => a.Key.FullName).ToList(); 81 return Assemblies.Where(a => a.Value).Select(a => a.Key.FullName).ToList(); 86 82 } 87 83 set { … … 244 240 assemblies.Add(a, false); 245 241 } 246 } catch (NotSupportedException) { 242 } 243 catch (NotSupportedException) { 247 244 // NotSupportedException is thrown while accessing 248 245 // the Location property of the anonymously hosted -
trunk/sources/HeuristicLab.Operators.Programmable/3.3/ProgrammableOperatorView.cs
r3906 r4068 22 22 using System; 23 23 using System.Collections.Generic; 24 using System.ComponentModel; 25 using System.Drawing; 26 using System.Data; 24 using System.Linq; 25 using System.Reflection; 27 26 using System.Text; 28 using System.Linq;29 27 using System.Windows.Forms; 30 using HeuristicLab.Common;31 using HeuristicLab.Core;32 using HeuristicLab.Operators;33 using System.CodeDom.Compiler;34 using System.Reflection;35 28 using HeuristicLab.CodeEditor; 29 using HeuristicLab.Common.Resources; 36 30 using HeuristicLab.Core.Views; 37 using HeuristicLab.Operators.Views;38 31 using HeuristicLab.MainForm; 39 32 using HeuristicLab.PluginInfrastructure; 40 using HeuristicLab.Common.Resources;41 33 42 34 namespace HeuristicLab.Operators.Programmable { … … 129 121 ProgrammableOperator.Compile(); 130 122 MessageBox.Show("Compilation successful", "Success", MessageBoxButtons.OK, MessageBoxIcon.Information); 131 } catch (Exception ex) { 123 } 124 catch (Exception ex) { 132 125 ErrorHandling.ShowErrorDialog(this, ex); 133 126 } -
trunk/sources/HeuristicLab.Operators.Programmable/3.3/Properties/Resources.Designer.cs
r4065 r4068 10 10 11 11 namespace HeuristicLab.Operators.Programmable.Properties { 12 using System; 13 14 12 13 14 /// <summary> 15 /// A strongly-typed resource class, for looking up localized strings, etc. 16 /// </summary> 17 // This class was auto-generated by the StronglyTypedResourceBuilder 18 // class via a tool like ResGen or Visual Studio. 19 // To add or remove a member, edit your .ResX file then rerun ResGen 20 // with the /str option, or rebuild your VS project. 21 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] 22 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 23 [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] 24 internal class Resources { 25 26 private static global::System.Resources.ResourceManager resourceMan; 27 28 private static global::System.Globalization.CultureInfo resourceCulture; 29 30 [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] 31 internal Resources() { 32 } 33 15 34 /// <summary> 16 /// A strongly-typed resource class, for looking up localized strings, etc.35 /// Returns the cached ResourceManager instance used by this class. 17 36 /// </summary> 18 // This class was auto-generated by the StronglyTypedResourceBuilder 19 // class via a tool like ResGen or Visual Studio. 20 // To add or remove a member, edit your .ResX file then rerun ResGen 21 // with the /str option, or rebuild your VS project. 22 [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] 23 [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] 24 [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] 25 internal class Resources { 26 27 private static global::System.Resources.ResourceManager resourceMan; 28 29 private static global::System.Globalization.CultureInfo resourceCulture; 30 31 [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")] 32 internal Resources() { 37 [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] 38 internal static global::System.Resources.ResourceManager ResourceManager { 39 get { 40 if (object.ReferenceEquals(resourceMan, null)) { 41 global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("HeuristicLab.Operators.Programmable.Properties.Resources", typeof(Resources).Assembly); 42 resourceMan = temp; 33 43 } 34 35 /// <summary> 36 /// Returns the cached ResourceManager instance used by this class. 37 /// </summary> 38 [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] 39 internal static global::System.Resources.ResourceManager ResourceManager { 40 get { 41 if (object.ReferenceEquals(resourceMan, null)) { 42 global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("HeuristicLab.Operators.Programmable.Properties.Resources", typeof(Resources).Assembly); 43 resourceMan = temp; 44 } 45 return resourceMan; 46 } 47 } 48 49 /// <summary> 50 /// Overrides the current thread's CurrentUICulture property for all 51 /// resource lookups using this strongly typed resource class. 52 /// </summary> 53 [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] 54 internal static global::System.Globalization.CultureInfo Culture { 55 get { 56 return resourceCulture; 57 } 58 set { 59 resourceCulture = value; 60 } 61 } 44 return resourceMan; 45 } 62 46 } 47 48 /// <summary> 49 /// Overrides the current thread's CurrentUICulture property for all 50 /// resource lookups using this strongly typed resource class. 51 /// </summary> 52 [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] 53 internal static global::System.Globalization.CultureInfo Culture { 54 get { 55 return resourceCulture; 56 } 57 set { 58 resourceCulture = value; 59 } 60 } 61 } 63 62 }
Note: See TracChangeset
for help on using the changeset viewer.