Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/17/09 14:34:13 (15 years ago)
Author:
kgrading
Message:

refactoring (#547)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Hive.Client.Core/3.2/PluginCache.cs

    r1594 r1602  
    1010namespace HeuristicLab.Hive.Client.Core {
    1111  public class PluginCache {
     12
     13    private static PluginCache instance = null;
     14    public static PluginCache Instance {
     15      get {
     16        if (instance == null)
     17          instance = new PluginCache();
     18        return instance;
     19      }
     20    }
     21   
    1222    private List<CachedHivePluginInfo> pluginCache;
    1323   
     24
    1425    public PluginCache() {
    1526      pluginCache = new List<CachedHivePluginInfo>();
     
    2435      List<HivePluginInfo> missingPlugins = new List<HivePluginInfo>();
    2536      bool found = false;
     37     
     38      //Todo: Fix the whole equals thing here
    2639      foreach (HivePluginInfo info in requests) {
    2740        foreach (CachedHivePluginInfo cache in pluginCache) {
Note: See TracChangeset for help on using the changeset viewer.