Free cookie consent management tool by TermsFeed Policy Generator

source: trunk/sources/HeuristicLab.Services.Deployment/3.3/Update.cs @ 3072

Last change on this file since 3072 was 3072, checked in by gkronber, 14 years ago

Copied projects related to the deployment service from the feature branch. #918 (Integrate deployment service into trunk and HL3.3 solution file)

File size: 915 bytes
Line 
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Runtime.Serialization;
5using System.ServiceModel;
6using System.Text;
7using HeuristicLab.Services.Deployment.DataAccess;
8
9namespace HeuristicLab.Services.Deployment {
10  // NOTE: If you change the class name "Update" here, you must also update the reference to "Update" in App.config.
11  public class Update : IUpdate {
12    #region IUpdate Members
13
14    public byte[] GetPlugin(PluginDescription description) {
15      PluginStore store = new PluginStore();
16      return store.PluginFile(description);
17    }
18
19
20    public IEnumerable<ProductDescription> GetProducts() {
21      PluginStore store = new PluginStore();
22      return store.Products;
23    }
24
25    public IEnumerable<PluginDescription> GetPlugins() {
26      PluginStore store = new PluginStore();
27      return store.Plugins;
28    }
29    #endregion
30  }
31}
Note: See TracBrowser for help on using the repository browser.