Last change
on this file since 3958 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 | |
---|
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 |
|
---|
8 | namespace 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.