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)

Location:
trunk/sources/HeuristicLab.PluginInfrastructure/Advanced/DeploymentService
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.PluginInfrastructure/Advanced/DeploymentService/DeploymentService.cs

    r2814 r2860  
    2222        private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
    2323       
    24         private string ContactInformationField;
     24        private string ContactEmailField;
     25       
     26        private string ContactNameField;
    2527       
    2628        private HeuristicLab.PluginInfrastructure.Advanced.DeploymentService.PluginDescription[] DependenciesField;
     
    4547       
    4648        [System.Runtime.Serialization.DataMemberAttribute()]
    47         public string ContactInformation
    48         {
    49             get
    50             {
    51                 return this.ContactInformationField;
    52             }
    53             set
    54             {
    55                 this.ContactInformationField = value;
     49        public string ContactEmail
     50        {
     51            get
     52            {
     53                return this.ContactEmailField;
     54            }
     55            set
     56            {
     57                this.ContactEmailField = value;
     58            }
     59        }
     60       
     61        [System.Runtime.Serialization.DataMemberAttribute()]
     62        public string ContactName
     63        {
     64            get
     65            {
     66                return this.ContactNameField;
     67            }
     68            set
     69            {
     70                this.ContactNameField = value;
    5671            }
    5772        }
  • trunk/sources/HeuristicLab.PluginInfrastructure/Advanced/DeploymentService/PluginDescription.cs

    r2814 r2860  
    3131namespace HeuristicLab.PluginInfrastructure.Advanced.DeploymentService {
    3232  // extension of auto-generated DataContract class PluginDescription
    33   public partial class PluginDescription {
     33  public partial class PluginDescription : IPluginDescription {
    3434    public PluginDescription(string name, Version version) : this(name, version, new List<PluginDescription>()) { }
    3535    public PluginDescription(string name, Version version, IEnumerable<PluginDescription> dependencies)
    36       : this(name, version, dependencies, string.Empty, string.Empty) {
     36      : this(name, version, dependencies, string.Empty, string.Empty, string.Empty) {
    3737    }
    3838
    39     public PluginDescription(string name, Version version, IEnumerable<PluginDescription> dependencies, string contactInformation, string licenseText) {
     39    public PluginDescription(string name, Version version, IEnumerable<PluginDescription> dependencies, string contactName, string contactEmail, string licenseText) {
    4040      this.Name = name;
    4141      this.Version = version;
    4242      this.Dependencies = dependencies.ToArray();
    43       this.ContactInformation = contactInformation;
    4443      this.LicenseText = licenseText;
    4544    }
     45
     46    #region IPluginDescription Members
     47
     48
     49    [Obsolete]
     50    public DateTime BuildDate {
     51      get { throw new NotImplementedException(); }
     52    }
     53
     54    IEnumerable<IPluginDescription> IPluginDescription.Dependencies {
     55      get {
     56        return Dependencies;
     57      }
     58    }
     59
     60    public IEnumerable<IPluginFile> Files {
     61      get { return Enumerable.Empty<IPluginFile>(); }
     62    }
     63
     64    #endregion
    4665  }
    4766}
  • trunk/sources/HeuristicLab.PluginInfrastructure/Advanced/DeploymentService/ProductDescription.cs

    r2811 r2860  
    3131namespace HeuristicLab.PluginInfrastructure.Advanced.DeploymentService {
    3232  // extension of auto-generated DataContract class ProductDescription
    33   public partial class ProductDescription {
     33  public partial class ProductDescription  {
    3434    public ProductDescription(string name, Version version)
    3535      : this(name, version, new List<PluginDescription>()) {
Note: See TracChangeset for help on using the changeset viewer.