Free cookie consent management tool by TermsFeed Policy Generator

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

update to new PluginInfrastructure (#802)

Location:
branches/Persistence Test
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/Persistence Test

  • branches/Persistence Test/HeuristicLab.MainForm/3.2/HeuristicLabMainFormPlugin.cs

    r2406 r2744  
    2626
    2727namespace HeuristicLab.Modeling.Database {
    28   [ClassInfo(Name = "HeuristicLab.MainForm-3.2")]
    29   [PluginFile(Filename = "HeuristicLab.MainForm-3.2.dll", Filetype = PluginFileType.Assembly)]
     28  [Plugin("HeuristicLab.MainForm-3.2")]
     29  [PluginFile("HeuristicLab.MainForm-3.2.dll", PluginFileType.Assembly)]
    3030  public class HeuristicLabMainFormPlugin : PluginBase {
    3131  }
  • branches/Persistence Test/HeuristicLab.MainForm/3.2/MainFormManager.cs

    r2468 r2744  
    4242        if (MainFormManager.mainform == null) {
    4343          MainFormManager.mainform = mainform;
    44 
    45           DiscoveryService ds = new DiscoveryService();
    4644          IEnumerable<Type> types =
    47             from t in ds.GetTypes(typeof(IView))
     45            from t in ApplicationManager.Manager.GetTypes(typeof(IView))
    4846            where !t.IsAbstract && !t.IsInterface && !t.IsGenericType && ContentAttribute.HasContentAttribute(t)
    4947            select t;
Note: See TracChangeset for help on using the changeset viewer.