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
|
Rev | Line | |
---|
[2742] | 1 | using System;
|
---|
| 2 | using System.Collections.Generic;
|
---|
| 3 | using System.Linq;
|
---|
| 4 | using System.Runtime.Serialization;
|
---|
| 5 | using System.ServiceModel;
|
---|
| 6 | using System.Text;
|
---|
| 7 | using HeuristicLab.Services.Deployment.DataAccess;
|
---|
| 8 |
|
---|
| 9 | namespace 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 |
|
---|
[2771] | 25 | public IEnumerable<PluginDescription> GetPlugins() {
|
---|
| 26 | PluginStore store = new PluginStore();
|
---|
| 27 | return store.Plugins;
|
---|
| 28 | }
|
---|
[2742] | 29 | #endregion
|
---|
| 30 | }
|
---|
| 31 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.