Changeset 3772
- Timestamp:
- 05/11/10 17:41:46 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.PluginInfrastructure/Advanced/EditProductsView.cs
r3771 r3772 139 139 try { 140 140 foreach (var product in products) { 141 // only upload necessary data (product name and version, and for each plugin only plugin name and version) 142 var lightWeightProduct = new DeploymentService.ProductDescription(product.Name, product.Version); 143 lightWeightProduct.Plugins = (from plugin in product.Plugins 144 select new DeploymentService.PluginDescription(plugin.Name, plugin.Version)).ToArray(); 145 adminClient.DeployProduct(lightWeightProduct); 141 adminClient.DeployProduct(product); 146 142 } 147 143 adminClient.Close();
Note: See TracChangeset
for help on using the changeset viewer.