Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
02/24/10 14:34:07 (14 years ago)
Author:
gkronber
Message:
  • replaced column ContactInformation with ContactName and ContactEmail in DB-schema and updated WCF deployment service
  • regenerated proxy classes
  • made PluginDescription from data contract implement IPluginDescription from plugin infrastructure
  • updated GUI on request by swagner (icons)
  • fixed problems in the upload plugins control.

#860 (Deployment server for plugin installation from web locations)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/DeploymentServer Prototype/HeuristicLab.Services/HeuristicLab.Services.Deployment/PluginDescription.cs

    r2816 r2860  
    2121    }
    2222
    23     [DataMember(Name = "ContactInformation")]
    24     private string contactInformation;
    25     public string ContactInformation {
    26       get { return contactInformation; }
     23    [DataMember(Name = "ContactName")]
     24    private string contactName;
     25    public string ContactName {
     26      get { return contactName; }
     27    }
     28
     29    [DataMember(Name = "ContactEmail")]
     30    private string contactEmail;
     31    public string ContactEmail {
     32      get { return contactEmail; }
    2733    }
    2834
     
    3945    }
    4046
    41     public PluginDescription(string name, Version version, IEnumerable<PluginDescription> dependencies, string contactInformation, string license) {
     47    public PluginDescription(string name, Version version, IEnumerable<PluginDescription> dependencies,
     48      string contactName, string contactEmail, string license) {
    4249      if (string.IsNullOrEmpty(name)) throw new ArgumentException("name is empty");
    43       if (version == null || dependencies == null || contactInformation == null || license == null) throw new ArgumentNullException();
     50      if (version == null || dependencies == null ||
     51        contactName == null || contactEmail == null ||
     52        license == null) throw new ArgumentNullException();
    4453      this.name = name;
    4554      this.version = version;
    4655      this.dependencies = new List<PluginDescription>(dependencies);
    4756      this.licenseText = license;
    48       this.contactInformation = contactInformation;
     57      this.contactName = contactName;
     58      this.contactEmail = contactEmail;
    4959    }
    5060
     
    5464
    5565    public PluginDescription(string name, Version version, IEnumerable<PluginDescription> dependencies)
    56       : this(name, version, dependencies, string.Empty, string.Empty) {
     66      : this(name, version, dependencies, string.Empty, string.Empty, string.Empty) {
    5767    }
    5868  }
Note: See TracChangeset for help on using the changeset viewer.