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.Core/3.3
Files:
36 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Core/3.3/Collections/CheckedItemCollection.cs

    r3822 r4068  
    2222using System;
    2323using System.Collections.Generic;
    24 using System.Drawing;
    2524using System.Linq;
    2625using HeuristicLab.Collections;
    2726using HeuristicLab.Common;
    28 using HeuristicLab.Common.Resources;
    2927using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    3028
  • trunk/sources/HeuristicLab.Core/3.3/Collections/CheckedItemList.cs

    r3822 r4068  
    2121
    2222using System;
     23using System.Collections.Generic;
    2324using System.Linq;
    24 using System.Collections;
    25 using System.Collections.Generic;
    26 using System.Collections.ObjectModel;
    27 using System.Text;
    28 using System.Drawing;
     25using HeuristicLab.Collections;
     26using HeuristicLab.Common;
    2927using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    30 using HeuristicLab.Common;
    31 using HeuristicLab.Common.Resources;
    32 using HeuristicLab.Collections;
    3328
    3429namespace HeuristicLab.Core {
  • trunk/sources/HeuristicLab.Core/3.3/Collections/ConstraintCollection.cs

    r3602 r4068  
    2020#endregion
    2121
    22 using System;
    2322using System.Collections.Generic;
    24 using System.Linq;
    25 using System.Text;
    2623using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    2724
  • trunk/sources/HeuristicLab.Core/3.3/Collections/ItemArray.cs

    r3822 r4068  
    2121
    2222using System;
     23using System.Collections.Generic;
     24using System.Drawing;
    2325using System.Linq;
    24 using System.Collections;
    25 using System.Collections.Generic;
    26 using System.Collections.ObjectModel;
    27 using System.Text;
    28 using System.Drawing;
    29 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     26using HeuristicLab.Collections;
    3027using HeuristicLab.Common;
    3128using HeuristicLab.Common.Resources;
    32 using HeuristicLab.Collections;
     29using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    3330
    3431namespace HeuristicLab.Core {
  • trunk/sources/HeuristicLab.Core/3.3/Collections/ItemDictionary.cs

    r3822 r4068  
    2323using System.Collections.Generic;
    2424using System.Drawing;
    25 using System.Linq;
    2625using HeuristicLab.Collections;
    2726using HeuristicLab.Common;
     
    3231  [StorableClass]
    3332  [Item("ItemDictionary", "Represents a dictionary of items.")]
    34   public class ItemDictionary<TKey, TValue> : ObservableDictionary<TKey, TValue>, IItemDictionary<TKey, TValue> where TKey : class, IItem where TValue : class, IItem {
     33  public class ItemDictionary<TKey, TValue> : ObservableDictionary<TKey, TValue>, IItemDictionary<TKey, TValue>
     34    where TKey : class, IItem
     35    where TValue : class, IItem {
    3536    private string filename;
    3637    public string Filename {
  • trunk/sources/HeuristicLab.Core/3.3/Collections/ItemList.cs

    r3822 r4068  
    2121
    2222using System;
     23using System.Collections.Generic;
     24using System.Drawing;
    2325using System.Linq;
    24 using System.Collections;
    25 using System.Collections.Generic;
    26 using System.Collections.ObjectModel;
    27 using System.Text;
    28 using System.Drawing;
    29 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     26using HeuristicLab.Collections;
    3027using HeuristicLab.Common;
    3128using HeuristicLab.Common.Resources;
    32 using HeuristicLab.Collections;
     29using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    3330
    3431namespace HeuristicLab.Core {
  • trunk/sources/HeuristicLab.Core/3.3/Collections/ItemSet.cs

    r3822 r4068  
    2121
    2222using System;
     23using System.Collections.Generic;
     24using System.Drawing;
    2325using System.Linq;
    24 using System.Collections;
    25 using System.Collections.Generic;
    26 using System.Collections.ObjectModel;
    27 using System.Text;
    28 using System.Drawing;
    29 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     26using HeuristicLab.Collections;
    3027using HeuristicLab.Common;
    3128using HeuristicLab.Common.Resources;
    32 using HeuristicLab.Collections;
     29using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    3330
    3431namespace HeuristicLab.Core {
  • trunk/sources/HeuristicLab.Core/3.3/Collections/KeyedItemCollection.cs

    r3822 r4068  
    2323using System.Collections.Generic;
    2424using System.Drawing;
    25 using System.Linq;
    2625using HeuristicLab.Collections;
    2726using HeuristicLab.Common;
  • trunk/sources/HeuristicLab.Core/3.3/Collections/NamedItemCollection.cs

    r3822 r4068  
    2222using System;
    2323using System.Collections.Generic;
    24 using System.Drawing;
    25 using System.Linq;
    26 using HeuristicLab.Collections;
    2724using HeuristicLab.Common;
    2825using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
     
    3431    public NamedItemCollection() : base() { }
    3532    public NamedItemCollection(int capacity) : base(capacity) { }
    36     public NamedItemCollection(IEnumerable<T> collection) : base(collection) {
     33    public NamedItemCollection(IEnumerable<T> collection)
     34      : base(collection) {
    3735      Initialize();
    3836    }
  • trunk/sources/HeuristicLab.Core/3.3/Collections/OperatorCollection.cs

    r3390 r4068  
    2020#endregion
    2121
    22 using System;
    23 using System.Collections;
    2422using System.Collections.Generic;
    25 using System.Collections.ObjectModel;
    26 using System.Text;
    27 using System.Drawing;
    2823using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    2924
  • trunk/sources/HeuristicLab.Core/3.3/Collections/OperatorList.cs

    r3390 r4068  
    2020#endregion
    2121
    22 using System;
    23 using System.Collections;
    2422using System.Collections.Generic;
    25 using System.Collections.ObjectModel;
    26 using System.Text;
    27 using System.Drawing;
    2823using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    2924
  • trunk/sources/HeuristicLab.Core/3.3/Collections/OperatorSet.cs

    r3390 r4068  
    2020#endregion
    2121
    22 using System;
    23 using System.Collections;
    2422using System.Collections.Generic;
    25 using System.Collections.ObjectModel;
    26 using System.Text;
    27 using System.Drawing;
    2823using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    2924
  • trunk/sources/HeuristicLab.Core/3.3/Collections/ReadOnlyCheckedItemCollection.cs

    r3822 r4068  
    2222using System;
    2323using System.Collections.Generic;
    24 using System.Drawing;
    25 using System.Linq;
    2624using HeuristicLab.Collections;
    27 using HeuristicLab.Common;
    28 using HeuristicLab.Common.Resources;
    2925using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    3026
     
    3632      get { return (CheckedItemCollection<T>)base.collection; }
    3733    }
    38    
     34
    3935    public ReadOnlyCheckedItemCollection() : base(new CheckedItemCollection<T>()) { }
    4036    public ReadOnlyCheckedItemCollection(ICheckedItemCollection<T> collection)
     
    5349        handler(this, e);
    5450    }
    55    
     51
    5652    public IEnumerable<T> CheckedItems {
    5753      get { return CheckedItemCollection.CheckedItems; }
  • trunk/sources/HeuristicLab.Core/3.3/Collections/ReadOnlyCheckedItemList.cs

    r3822 r4068  
    2222using System;
    2323using System.Collections.Generic;
    24 using System.Drawing;
    25 using System.Linq;
    2624using HeuristicLab.Collections;
    27 using HeuristicLab.Common;
    28 using HeuristicLab.Common.Resources;
    2925using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    3026
     
    3632      get { return (CheckedItemList<T>)base.list; }
    3733    }
    38    
     34
    3935    public ReadOnlyCheckedItemList() : base(new CheckedItemList<T>()) { }
    40     public ReadOnlyCheckedItemList(ICheckedItemList<T> list) : base(list) {
     36    public ReadOnlyCheckedItemList(ICheckedItemList<T> list)
     37      : base(list) {
    4138      list.CheckedItemsChanged += new CollectionItemsChangedEventHandler<IndexedItem<T>>(list_CheckedItemsChanged);
    4239    }
     
    5249        handler(this, e);
    5350    }
    54    
     51
    5552    public IEnumerable<IndexedItem<T>> CheckedItems {
    5653      get { return CheckedItemList.CheckedItems; }
  • trunk/sources/HeuristicLab.Core/3.3/Collections/ReadOnlyItemArray.cs

    r3822 r4068  
    2121
    2222using System;
    23 using System.Collections.Generic;
    2423using System.Drawing;
    25 using System.Linq;
    2624using HeuristicLab.Collections;
    2725using HeuristicLab.Common;
  • trunk/sources/HeuristicLab.Core/3.3/Collections/ReadOnlyItemCollection.cs

    r3822 r4068  
    2121
    2222using System;
    23 using System.Collections.Generic;
    2423using System.Drawing;
    25 using System.Linq;
    2624using HeuristicLab.Collections;
    2725using HeuristicLab.Common;
  • trunk/sources/HeuristicLab.Core/3.3/Collections/ReadOnlyItemDictionary.cs

    r3822 r4068  
    2121
    2222using System;
    23 using System.Collections.Generic;
    2423using System.Drawing;
    25 using System.Linq;
    2624using HeuristicLab.Collections;
    2725using HeuristicLab.Common;
     
    3230  [StorableClass]
    3331  [Item("ReadOnlyItemDictionary", "Represents a read-only dictionary of items.")]
    34   public class ReadOnlyItemDictionary<TKey, TValue> : ReadOnlyObservableDictionary<TKey, TValue>, IItemDictionary<TKey, TValue> where TKey : class, IItem where TValue : class, IItem {
     32  public class ReadOnlyItemDictionary<TKey, TValue> : ReadOnlyObservableDictionary<TKey, TValue>, IItemDictionary<TKey, TValue>
     33    where TKey : class, IItem
     34    where TValue : class, IItem {
    3535    private string filename;
    3636    public string Filename {
  • trunk/sources/HeuristicLab.Core/3.3/Collections/ReadOnlyItemList.cs

    r3822 r4068  
    2121
    2222using System;
    23 using System.Collections.Generic;
    2423using System.Drawing;
    25 using System.Linq;
    2624using HeuristicLab.Collections;
    2725using HeuristicLab.Common;
  • trunk/sources/HeuristicLab.Core/3.3/Collections/ReadOnlyItemSet.cs

    r3822 r4068  
    2121
    2222using System;
    23 using System.Collections.Generic;
    2423using System.Drawing;
    25 using System.Linq;
    2624using HeuristicLab.Collections;
    2725using HeuristicLab.Common;
  • trunk/sources/HeuristicLab.Core/3.3/Collections/ReadOnlyKeyedItemCollection.cs

    r3822 r4068  
    2121
    2222using System;
    23 using System.Collections.Generic;
    2423using System.Drawing;
    25 using System.Linq;
    2624using HeuristicLab.Collections;
    2725using HeuristicLab.Common;
  • trunk/sources/HeuristicLab.Core/3.3/Collections/VariableCollection.cs

    r3431 r4068  
    2121
    2222using System.Collections.Generic;
    23 using System.Linq;
    2423using HeuristicLab.Common;
    2524using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
  • trunk/sources/HeuristicLab.Core/3.3/Constraints/ComparisonConstraint.cs

    r3630 r4068  
    2222using System;
    2323using System.Collections.Generic;
    24 using System.Linq;
    25 using System.Text;
    2624using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    2725
  • trunk/sources/HeuristicLab.Core/3.3/Constraints/Constraint.cs

    r3613 r4068  
    2323using System.Collections.Generic;
    2424using System.Linq;
    25 using System.Text;
    2625using HeuristicLab.Common;
    2726using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
  • trunk/sources/HeuristicLab.Core/3.3/Constraints/ConstraintOperation.cs

    r3630 r4068  
    2020#endregion
    2121
    22 using System.Collections.Generic;
    2322using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    2423namespace HeuristicLab.Core {
     
    6160    }
    6261    public static bool operator ==(ConstraintOperation co1, ConstraintOperation co2) {
    63       if(object.ReferenceEquals(co1,co2))
     62      if (object.ReferenceEquals(co1, co2))
    6463        return true;
    65      
    66       if((object)co1 == null || (object) co2 == null)
     64
     65      if ((object)co1 == null || (object)co2 == null)
    6766        return false;
    6867
  • trunk/sources/HeuristicLab.Core/3.3/Constraints/EqualityConstraint.cs

    r3605 r4068  
    2222using System;
    2323using System.Collections.Generic;
    24 using System.Linq;
    25 using System.Text;
    2624using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    27 using HeuristicLab.Common;
    2825
    2926namespace HeuristicLab.Core {
  • trunk/sources/HeuristicLab.Core/3.3/Constraints/IConstraint.cs

    r3613 r4068  
    2222using System;
    2323using System.Collections.Generic;
    24 using System.Linq;
    25 using System.Text;
    2624
    2725namespace HeuristicLab.Core {
  • trunk/sources/HeuristicLab.Core/3.3/Constraints/TypeCompatibilityConstraint.cs

    r3605 r4068  
    2222using System;
    2323using System.Collections.Generic;
    24 using System.Linq;
    25 using System.Text;
    2624using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    2725
  • trunk/sources/HeuristicLab.Core/3.3/ExecutionContext.cs

    r3393 r4068  
    2121
    2222using System;
    23 using HeuristicLab.Collections;
    2423using HeuristicLab.Common;
    2524using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
  • trunk/sources/HeuristicLab.Core/3.3/Interfaces/ICheckedItemCollection.cs

    r3567 r4068  
    2020#endregion
    2121
     22using System.Collections.Generic;
    2223using HeuristicLab.Collections;
    23 using System.Collections.Generic;
    2424
    2525namespace HeuristicLab.Core {
  • trunk/sources/HeuristicLab.Core/3.3/Interfaces/ICheckedItemList.cs

    r3567 r4068  
    2020#endregion
    2121
     22using System.Collections.Generic;
    2223using HeuristicLab.Collections;
    23 using System.Collections.Generic;
    2424
    2525namespace HeuristicLab.Core {
  • trunk/sources/HeuristicLab.Core/3.3/Interfaces/IExecutionContext.cs

    r3393 r4068  
    2020#endregion
    2121
    22 using HeuristicLab.Collections;
    2322using HeuristicLab.Common;
    2423
  • trunk/sources/HeuristicLab.Core/3.3/Interfaces/IItemDictionary.cs

    r3390 r4068  
    2020#endregion
    2121
    22 using System.Collections.Generic;
    2322using HeuristicLab.Collections;
    2423
    2524namespace HeuristicLab.Core {
    26   public interface IItemDictionary<TKey, TValue> : IObservableDictionary<TKey, TValue>, IItem where TKey : class, IItem where TValue : class, IItem { }
     25  public interface IItemDictionary<TKey, TValue> : IObservableDictionary<TKey, TValue>, IItem
     26    where TKey : class, IItem
     27    where TValue : class, IItem { }
    2728}
  • trunk/sources/HeuristicLab.Core/3.3/Interfaces/IParameterizedItem.cs

    r3393 r4068  
    2121
    2222using System.Collections.Generic;
    23 using HeuristicLab.Collections;
    2423
    2524namespace HeuristicLab.Core {
  • trunk/sources/HeuristicLab.Core/3.3/OperatorGraph.cs

    r3729 r4068  
    2121
    2222using System;
    23 using System.Collections.Generic;
    24 using System.Text;
    25 using System.Xml;
    2623using System.Linq;
     24using HeuristicLab.Collections;
     25using HeuristicLab.Common;
    2726using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
    28 using HeuristicLab.Common;
    29 using HeuristicLab.Collections;
    3027
    3128namespace HeuristicLab.Core {
     
    9592    private void OnOperatorGraphDeserializationFinished() {
    9693      EventHandler handler = DeserializationFinished;
    97       if(handler != null)
    98         handler(this,EventArgs.Empty);
     94      if (handler != null)
     95        handler(this, EventArgs.Empty);
    9996    }
    10097    [StorableHook(HookType.AfterDeserialization)]
  • trunk/sources/HeuristicLab.Core/3.3/ParameterizedNamedItem.cs

    r3393 r4068  
    2222using System.Collections.Generic;
    2323using System.Linq;
    24 using HeuristicLab.Collections;
    2524using HeuristicLab.Common;
    2625using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
  • trunk/sources/HeuristicLab.Core/3.3/PersistenceContentManager.cs

    r3483 r4068  
    2020#endregion
    2121
    22 using System;
    2322using HeuristicLab.Common;
    2423using HeuristicLab.Persistence.Default.Xml;
Note: See TracChangeset for help on using the changeset viewer.