Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/22/10 00:44:01 (14 years ago)
Author:
swagner
Message:

Sorted usings and removed unused usings in entire solution (#1094)

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  
    2121
    2222using System;
     23using System.CodeDom;
     24using System.CodeDom.Compiler;
    2325using System.Collections.Generic;
    24 using System.Text;
    25 using System.Xml;
    2626using System.IO;
    2727using System.Linq;
    2828using System.Reflection;
    29 using System.CodeDom;
    30 using System.CodeDom.Compiler;
    31 using Microsoft.CSharp;
     29using System.Text;
    3230using System.Text.RegularExpressions;
     31using HeuristicLab.Collections;
    3332using HeuristicLab.Common;
    3433using HeuristicLab.Core;
    35 using HeuristicLab.Data;
    36 using System.Data.Linq;
    37 using System.Xml.XPath;
     34using HeuristicLab.Persistence.Auxiliary;
     35using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    3836using HeuristicLab.PluginInfrastructure;
    39 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    40 using HeuristicLab.Persistence.Auxiliary;
    41 using HeuristicLab.Collections;
     37using Microsoft.CSharp;
    4238
    4339namespace HeuristicLab.Operators.Programmable {
     
    8076    protected Dictionary<Assembly, bool> Assemblies;
    8177
    82     [Storable(Name="SelectedAssemblies")]
     78    [Storable(Name = "SelectedAssemblies")]
    8379    private List<string> _selectedAssemblyNames_persistence {
    8480      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();
    8682      }
    8783      set {
     
    244240            assemblies.Add(a, false);
    245241          }
    246         } catch (NotSupportedException) {
     242        }
     243        catch (NotSupportedException) {
    247244          // NotSupportedException is thrown while accessing
    248245          // the Location property of the anonymously hosted
  • trunk/sources/HeuristicLab.Operators.Programmable/3.3/ProgrammableOperatorView.cs

    r3906 r4068  
    2222using System;
    2323using System.Collections.Generic;
    24 using System.ComponentModel;
    25 using System.Drawing;
    26 using System.Data;
     24using System.Linq;
     25using System.Reflection;
    2726using System.Text;
    28 using System.Linq;
    2927using System.Windows.Forms;
    30 using HeuristicLab.Common;
    31 using HeuristicLab.Core;
    32 using HeuristicLab.Operators;
    33 using System.CodeDom.Compiler;
    34 using System.Reflection;
    3528using HeuristicLab.CodeEditor;
     29using HeuristicLab.Common.Resources;
    3630using HeuristicLab.Core.Views;
    37 using HeuristicLab.Operators.Views;
    3831using HeuristicLab.MainForm;
    3932using HeuristicLab.PluginInfrastructure;
    40 using HeuristicLab.Common.Resources;
    4133
    4234namespace HeuristicLab.Operators.Programmable {
     
    129121        ProgrammableOperator.Compile();
    130122        MessageBox.Show("Compilation successful", "Success", MessageBoxButtons.OK, MessageBoxIcon.Information);
    131       } catch (Exception ex) {
     123      }
     124      catch (Exception ex) {
    132125        ErrorHandling.ShowErrorDialog(this, ex);
    133126      }
  • trunk/sources/HeuristicLab.Operators.Programmable/3.3/Properties/Resources.Designer.cs

    r4065 r4068  
    1010
    1111namespace 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
    1534    /// <summary>
    16     ///   A strongly-typed resource class, for looking up localized strings, etc.
     35    ///   Returns the cached ResourceManager instance used by this class.
    1736    /// </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;
    3343        }
    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      }
    6246    }
     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  }
    6362}
Note: See TracChangeset for help on using the changeset viewer.