Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/04/10 18:55:46 (14 years ago)
Author:
gkronber
Message:

Fixed projects to work with new plugin infrastructure. #799

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/PluginInfrastructure Refactoring/HeuristicLab.PluginInfrastructure/Manager/PluginDescription.cs

    r2517 r2587  
    2323using System.Collections.Generic;
    2424using System.Text;
     25using System.Linq;
    2526
    2627namespace HeuristicLab.PluginInfrastructure.Manager {
     
    3536    private string name;
    3637    /// <summary>
    37     /// Gets or sets the name of the plugin.
     38    /// Gets the name of the plugin.
    3839    /// </summary>
    3940    public string Name {
     
    5253    private Version version;
    5354    /// <summary>
    54     /// Gets or sets the version of the plugin.
     55    /// Gets the version of the plugin.
    5556    /// </summary>
    56     internal Version Version {
     57    public Version Version {
    5758      get { return version; }
    58       set { version = value; }
     59      internal set { version = value; }
    5960    }
    6061    private DateTime buildDate;
    6162    /// <summary>
    62     /// Gets or sets the build date of the plugin.
     63    /// Gets the build date of the plugin.
    6364    /// </summary>
    64     internal DateTime BuildDate {
     65    public DateTime BuildDate {
    6566      get { return buildDate; }
    66       set { buildDate = value; }
     67      internal set { buildDate = value; }
    6768    }
    6869
     
    8182    /// These files are deleted when the plugin is removed or updated.
    8283    /// </summary>
    83     internal IEnumerable<string> Files {
     84    public IEnumerable<string> Files {
    8485      get { return files; }
    8586    }
     
    9091
    9192    private List<PluginDescription> dependencies = new List<PluginDescription>();
     93    internal IEnumerable<PluginDescription> Dependencies {
     94      get { return dependencies; }
     95    }
    9296    /// <summary>
    9397    /// Gets all dependencies of the plugin.
    9498    /// </summary>
    95     internal IEnumerable<PluginDescription> Dependencies {
    96       get { return dependencies; }
     99    IEnumerable<IPluginDescription> IPluginDescription.Dependencies {
     100      get { return dependencies.Cast<IPluginDescription>(); }
    97101    }
    98102
     
    100104      dependencies.Add(dependency);
    101105    }
    102 
    103106
    104107    private List<string> assemblies = new List<string>();
Note: See TracChangeset for help on using the changeset viewer.