Free cookie consent management tool by TermsFeed Policy Generator

source: branches/HeuristicLab.Services.Authentication Prototype/Service/Service1.cs @ 4153

Last change on this file since 4153 was 3939, checked in by hmayr, 14 years ago

first commit from hmayr, just minor changes (#1046)

  • formatted source code files to fit HeuristicLab standards
  • deleted old LINQ to SQL Classes
  • create LINQ to SQL Class for HeuristicLabUser (just prototype)
File size: 676 bytes
Line 
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Runtime.Serialization;
5using System.ServiceModel;
6using System.Text;
7
8namespace Service {
9  // HINWEIS: Wenn Sie hier den Klassennamen "Service1" ändern, müssen Sie ebenfalls den Verweis auf "Service1" in "App.config" aktualisieren.
10  public class Service1 : IService1 {
11    public string GetData(int value) {
12      return string.Format("You entered: {0}", value);
13    }
14
15    public CompositeType GetDataUsingDataContract(CompositeType composite) {
16      if (composite.BoolValue) {
17        composite.StringValue += "Suffix";
18      }
19      return composite;
20    }
21  }
22}
Note: See TracBrowser for help on using the repository browser.