Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/05/10 11:07:21 (14 years ago)
Author:
gkronber
Message:

Merged missing changes (r2587, r2589) in plugin infrastructure from branch to trunk. #799

Location:
trunk/sources/HeuristicLab.PluginInfrastructure/Manager
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.PluginInfrastructure/Manager/PluginDescription.cs

    r2517 r2592  
    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>();
  • trunk/sources/HeuristicLab.PluginInfrastructure/Manager/PluginManager.cs

    r2527 r2592  
    112112
    113113    /// <summary>
    114     /// Starts and application in a separate AppDomain.
    115     /// Loads all enabled plugins and starts the application via a PluginRunner instance activated in the new AppDomain.
     114    /// Starts an application in a separate AppDomain.
     115    /// Loads all enabled plugins and starts the application via an ApplicationManager instance activated in the new AppDomain.
    116116    /// </summary>
    117117    /// <param name="appInfo">application to run</param>
Note: See TracChangeset for help on using the changeset viewer.