Free cookie consent management tool by TermsFeed Policy Generator

source: branches/HeuristicLab.Services.Authentication Prototype/Service/IService1.cs @ 3939

Last change on this file since 3939 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: 1.1 KB
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 Schnittstellennamen "IService1" ändern, müssen Sie ebenfalls den Verweis auf "IService1" in "App.config" aktualisieren.
10  [ServiceContract]
11  public interface IService1 {
12    [OperationContract]
13    string GetData(int value);
14
15    [OperationContract]
16    CompositeType GetDataUsingDataContract(CompositeType composite);
17
18    // AUFGABE: Hier Dienstvorgänge hinzufügen
19  }
20
21  // Verwenden Sie einen Datenvertrag, wie im folgenden Beispiel dargestellt, um Dienstvorgängen zusammengesetzte Typen hinzuzufügen.
22  [DataContract]
23  public class CompositeType {
24    bool boolValue = true;
25    string stringValue = "Hello ";
26
27    [DataMember]
28    public bool BoolValue {
29      get { return boolValue; }
30      set { boolValue = value; }
31    }
32
33    [DataMember]
34    public string StringValue {
35      get { return stringValue; }
36      set { stringValue = value; }
37    }
38  }
39}
Note: See TracBrowser for help on using the repository browser.