Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
02/03/10 18:32:57 (14 years ago)
Author:
epitzer
Message:

update to new PluginInfrastructure (#802)

Location:
branches/Persistence Test
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/Persistence Test

  • branches/Persistence Test/HeuristicLab.Constraints/3.3/NotConstraintView.cs

    r1529 r2744  
    2626using System.Data;
    2727using System.Text;
     28using System.Linq;
    2829using System.Windows.Forms;
    2930using HeuristicLab.PluginInfrastructure;
     
    5859    public NotConstraintView() {
    5960      InitializeComponent();
    60       DiscoveryService discoveryService = new DiscoveryService();
    61       itemTypes = discoveryService.GetTypes(typeof(ConstraintBase));
     61      itemTypes = ApplicationManager.Manager.GetTypes(typeof(ConstraintBase)).ToArray();
    6262      for (int i = 0; i < itemTypes.Length; i++) {
    6363        subConstraintComboBox.Items.Add(itemTypes[i].Name);
Note: See TracChangeset for help on using the changeset viewer.