Free cookie consent management tool by TermsFeed Policy Generator

source: branches/GeneralizedQAP/HeuristicLab.Problems.QuadraticAssignment.Views/3.3/Service References/QAPServiceReference/Reference.cs @ 6659

Last change on this file since 6659 was 6659, checked in by abeham, 13 years ago

#1619

  • experimented with a first locally working version
File size: 10.2 KB
Line 
1//------------------------------------------------------------------------------
2// <auto-generated>
3//     This code was generated by a tool.
4//     Runtime Version:4.0.30319.235
5//
6//     Changes to this file may cause incorrect behavior and will be lost if
7//     the code is regenerated.
8// </auto-generated>
9//------------------------------------------------------------------------------
10
11namespace HeuristicLab.Problems.QuadraticAssignment.Views.QAPServiceReference {
12    using System.Runtime.Serialization;
13    using System;
14   
15   
16    [System.Diagnostics.DebuggerStepThroughAttribute()]
17    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
18    [System.Runtime.Serialization.DataContractAttribute(Name="QAPInstanceDto", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.ProblemInstances")]
19    [System.SerializableAttribute()]
20    public partial class QAPInstanceDto : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
21       
22        [System.NonSerializedAttribute()]
23        private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
24       
25        [System.Runtime.Serialization.OptionalFieldAttribute()]
26        private string DescriptionField;
27       
28        [System.Runtime.Serialization.OptionalFieldAttribute()]
29        private double[][] DistancesField;
30       
31        [System.Runtime.Serialization.OptionalFieldAttribute()]
32        private bool MaximizationField;
33       
34        [System.Runtime.Serialization.OptionalFieldAttribute()]
35        private string NameField;
36       
37        [System.Runtime.Serialization.OptionalFieldAttribute()]
38        private double[][] WeightsField;
39       
40        [global::System.ComponentModel.BrowsableAttribute(false)]
41        public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
42            get {
43                return this.extensionDataField;
44            }
45            set {
46                this.extensionDataField = value;
47            }
48        }
49       
50        [System.Runtime.Serialization.DataMemberAttribute()]
51        public string Description {
52            get {
53                return this.DescriptionField;
54            }
55            set {
56                if ((object.ReferenceEquals(this.DescriptionField, value) != true)) {
57                    this.DescriptionField = value;
58                    this.RaisePropertyChanged("Description");
59                }
60            }
61        }
62       
63        [System.Runtime.Serialization.DataMemberAttribute()]
64        public double[][] Distances {
65            get {
66                return this.DistancesField;
67            }
68            set {
69                if ((object.ReferenceEquals(this.DistancesField, value) != true)) {
70                    this.DistancesField = value;
71                    this.RaisePropertyChanged("Distances");
72                }
73            }
74        }
75       
76        [System.Runtime.Serialization.DataMemberAttribute()]
77        public bool Maximization {
78            get {
79                return this.MaximizationField;
80            }
81            set {
82                if ((this.MaximizationField.Equals(value) != true)) {
83                    this.MaximizationField = value;
84                    this.RaisePropertyChanged("Maximization");
85                }
86            }
87        }
88       
89        [System.Runtime.Serialization.DataMemberAttribute()]
90        public string Name {
91            get {
92                return this.NameField;
93            }
94            set {
95                if ((object.ReferenceEquals(this.NameField, value) != true)) {
96                    this.NameField = value;
97                    this.RaisePropertyChanged("Name");
98                }
99            }
100        }
101       
102        [System.Runtime.Serialization.DataMemberAttribute()]
103        public double[][] Weights {
104            get {
105                return this.WeightsField;
106            }
107            set {
108                if ((object.ReferenceEquals(this.WeightsField, value) != true)) {
109                    this.WeightsField = value;
110                    this.RaisePropertyChanged("Weights");
111                }
112            }
113        }
114       
115        public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
116       
117        protected void RaisePropertyChanged(string propertyName) {
118            System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
119            if ((propertyChanged != null)) {
120                propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
121            }
122        }
123    }
124   
125    [System.Diagnostics.DebuggerStepThroughAttribute()]
126    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
127    [System.Runtime.Serialization.DataContractAttribute(Name="QAPSolutionDto", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.ProblemInstances")]
128    [System.SerializableAttribute()]
129    public partial class QAPSolutionDto : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
130       
131        [System.NonSerializedAttribute()]
132        private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
133       
134        [System.Runtime.Serialization.OptionalFieldAttribute()]
135        private int[] AssignmentField;
136       
137        [System.Runtime.Serialization.OptionalFieldAttribute()]
138        private double QualityField;
139       
140        [global::System.ComponentModel.BrowsableAttribute(false)]
141        public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
142            get {
143                return this.extensionDataField;
144            }
145            set {
146                this.extensionDataField = value;
147            }
148        }
149       
150        [System.Runtime.Serialization.DataMemberAttribute()]
151        public int[] Assignment {
152            get {
153                return this.AssignmentField;
154            }
155            set {
156                if ((object.ReferenceEquals(this.AssignmentField, value) != true)) {
157                    this.AssignmentField = value;
158                    this.RaisePropertyChanged("Assignment");
159                }
160            }
161        }
162       
163        [System.Runtime.Serialization.DataMemberAttribute()]
164        public double Quality {
165            get {
166                return this.QualityField;
167            }
168            set {
169                if ((this.QualityField.Equals(value) != true)) {
170                    this.QualityField = value;
171                    this.RaisePropertyChanged("Quality");
172                }
173            }
174        }
175       
176        public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
177       
178        protected void RaisePropertyChanged(string propertyName) {
179            System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
180            if ((propertyChanged != null)) {
181                propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
182            }
183        }
184    }
185   
186    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
187    [System.ServiceModel.ServiceContractAttribute(ConfigurationName="QAPServiceReference.IQAP")]
188    public interface IQAP {
189       
190        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IQAP/GetProblemInstances", ReplyAction="http://tempuri.org/IQAP/GetProblemInstancesResponse")]
191        string[] GetProblemInstances();
192       
193        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IQAP/GetProblemInstanceData", ReplyAction="http://tempuri.org/IQAP/GetProblemInstanceDataResponse")]
194        HeuristicLab.Problems.QuadraticAssignment.Views.QAPServiceReference.QAPInstanceDto GetProblemInstanceData(string instance);
195       
196        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IQAP/GetBestSolutionsData", ReplyAction="http://tempuri.org/IQAP/GetBestSolutionsDataResponse")]
197        HeuristicLab.Problems.QuadraticAssignment.Views.QAPServiceReference.QAPSolutionDto[] GetBestSolutionsData(string instance);
198    }
199   
200    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
201    public interface IQAPChannel : HeuristicLab.Problems.QuadraticAssignment.Views.QAPServiceReference.IQAP, System.ServiceModel.IClientChannel {
202    }
203   
204    [System.Diagnostics.DebuggerStepThroughAttribute()]
205    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
206    public partial class QAPClient : System.ServiceModel.ClientBase<HeuristicLab.Problems.QuadraticAssignment.Views.QAPServiceReference.IQAP>, HeuristicLab.Problems.QuadraticAssignment.Views.QAPServiceReference.IQAP {
207       
208        public QAPClient() {
209        }
210       
211        public QAPClient(string endpointConfigurationName) :
212                base(endpointConfigurationName) {
213        }
214       
215        public QAPClient(string endpointConfigurationName, string remoteAddress) :
216                base(endpointConfigurationName, remoteAddress) {
217        }
218       
219        public QAPClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
220                base(endpointConfigurationName, remoteAddress) {
221        }
222       
223        public QAPClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
224                base(binding, remoteAddress) {
225        }
226       
227        public string[] GetProblemInstances() {
228            return base.Channel.GetProblemInstances();
229        }
230       
231        public HeuristicLab.Problems.QuadraticAssignment.Views.QAPServiceReference.QAPInstanceDto GetProblemInstanceData(string instance) {
232            return base.Channel.GetProblemInstanceData(instance);
233        }
234       
235        public HeuristicLab.Problems.QuadraticAssignment.Views.QAPServiceReference.QAPSolutionDto[] GetBestSolutionsData(string instance) {
236            return base.Channel.GetBestSolutionsData(instance);
237        }
238    }
239}
Note: See TracBrowser for help on using the repository browser.