Free cookie consent management tool by TermsFeed Policy Generator

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

Last change on this file since 3932 was 3932, checked in by bfarka, 14 years ago

Added emty projects for services and persistence (#1046)

File size: 767 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{
10    // HINWEIS: Wenn Sie hier den Klassennamen "Service1" ändern, müssen Sie ebenfalls den Verweis auf "Service1" in "App.config" aktualisieren.
11    public class Service1 : IService1
12    {
13        public string GetData(int value)
14        {
15            return string.Format("You entered: {0}", value);
16        }
17
18        public CompositeType GetDataUsingDataContract(CompositeType composite)
19        {
20            if (composite.BoolValue)
21            {
22                composite.StringValue += "Suffix";
23            }
24            return composite;
25        }
26    }
27}
Note: See TracBrowser for help on using the repository browser.