Changeset 2802 for branches/DeploymentServer Prototype/HeuristicLab.Services/HeuristicLab.Services.Deployment.DataAccess/PluginDescription.cs
- Timestamp:
- 02/15/10 15:41:38 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/DeploymentServer Prototype/HeuristicLab.Services/HeuristicLab.Services.Deployment.DataAccess/PluginDescription.cs
r2771 r2802 8 8 [DataContract(Name = "PluginDescription")] 9 9 public class PluginDescription { 10 11 [DataMember(Name = "Id")]12 private long id;13 internal long Id {14 get {15 return id;16 }17 set {18 id = value;19 }20 }21 10 22 11 [DataMember(Name = "Name")] … … 39 28 } 40 29 41 //[DataMember(Name = "IsDatabaseInstance")] 42 //private bool isDatabaseInstance; 43 //internal bool IsDatabaseInstance { 44 // get { 45 // return isDatabaseInstance; 46 // } 47 //} 48 49 internal PluginDescription(long id, string name, Version version, IEnumerable<PluginDescription> dependencies) { 50 this.id = id; 30 public PluginDescription(string name, Version version, IEnumerable<PluginDescription> dependencies) { 51 31 this.name = name; 52 32 this.version = version; 53 33 this.dependencies = new List<PluginDescription>(dependencies); //.AsReadOnly(); 54 //this.isDatabaseInstance = true;55 }56 57 public PluginDescription(string name, Version version, IEnumerable<PluginDescription> dependencies)58 : this(0, name, version, dependencies) {59 //this.isDatabaseInstance = false;60 34 } 61 35 62 36 public PluginDescription(string name, Version version) 63 37 : this(name, version, Enumerable.Empty<PluginDescription>()) { 64 //this.isDatabaseInstance = false;65 38 } 66 39 }
Note: See TracChangeset
for help on using the changeset viewer.