Ignore:
Timestamp:
01/12/16 17:15:11 (5 years ago)
Author:
abeham
Message:

#2560:

  • Added clients methods for the new service methods
  • Added partial class for the dto value classes of the run creation client so that one doesn't have to specify the DataType field
  • Added missing license header to UnknownCharacteristicType
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Clients.OKB/3.3/RunCreation/ServiceClient/RunCreationServiceClient.cs

    r8055 r13503  
    22// <auto-generated>
    33//     This code was generated by a tool.
    4 //     Runtime Version:4.0.30319.261
     4//     Runtime Version:4.0.30319.34209
    55//
    66//     Changes to this file may cause incorrect behavior and will be lost if
     
    653653    [System.Runtime.Serialization.DataContractAttribute(Name="Value", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.RunCreation.Dat" +
    654654        "aTransfer")]
    655     [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.RunCreation.BinaryValue))]
     655    [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.RunCreation.IntValue))]
    656656    [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.RunCreation.LongValue))]
    657657    [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.RunCreation.FloatValue))]
     658    [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.RunCreation.PercentValue))]
    658659    [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.RunCreation.TimeSpanValue))]
    659     [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.RunCreation.IntValue))]
    660660    [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.RunCreation.BoolValue))]
    661661    [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.RunCreation.DoubleValue))]
    662     [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.RunCreation.PercentValue))]
    663662    [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.RunCreation.StringValue))]
     663    [System.Runtime.Serialization.KnownTypeAttribute(typeof(HeuristicLab.Clients.OKB.RunCreation.BinaryValue))]
    664664    public partial class Value : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged
    665665    {
     
    731731    [System.Diagnostics.DebuggerStepThroughAttribute()]
    732732    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    733     [System.Runtime.Serialization.DataContractAttribute(Name="BinaryValue", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.RunCreation.Dat" +
    734         "aTransfer")]
    735     public partial class BinaryValue : HeuristicLab.Clients.OKB.RunCreation.Value
    736     {
    737        
    738         private byte[] ValueField;
    739        
    740         [System.Runtime.Serialization.DataMemberAttribute()]
    741         public byte[] Value
     733    [System.Runtime.Serialization.DataContractAttribute(Name="IntValue", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.RunCreation.Dat" +
     734        "aTransfer")]
     735    public partial class IntValue : HeuristicLab.Clients.OKB.RunCreation.Value
     736    {
     737       
     738        private int ValueField;
     739       
     740        [System.Runtime.Serialization.DataMemberAttribute()]
     741        public int Value
    742742        {
    743743            get
     
    747747            set
    748748            {
    749                 if ((object.ReferenceEquals(this.ValueField, value) != true))
     749                if ((this.ValueField.Equals(value) != true))
    750750                {
    751751                    this.ValueField = value;
     
    812812    [System.Diagnostics.DebuggerStepThroughAttribute()]
    813813    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    814     [System.Runtime.Serialization.DataContractAttribute(Name="TimeSpanValue", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.RunCreation.Dat" +
    815         "aTransfer")]
    816     public partial class TimeSpanValue : HeuristicLab.Clients.OKB.RunCreation.Value
    817     {
    818        
    819         private long ValueField;
    820        
    821         [System.Runtime.Serialization.DataMemberAttribute()]
    822         public long Value
     814    [System.Runtime.Serialization.DataContractAttribute(Name="PercentValue", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.RunCreation.Dat" +
     815        "aTransfer")]
     816    public partial class PercentValue : HeuristicLab.Clients.OKB.RunCreation.Value
     817    {
     818       
     819        private double ValueField;
     820       
     821        [System.Runtime.Serialization.DataMemberAttribute()]
     822        public double Value
    823823        {
    824824            get
     
    839839    [System.Diagnostics.DebuggerStepThroughAttribute()]
    840840    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    841     [System.Runtime.Serialization.DataContractAttribute(Name="IntValue", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.RunCreation.Dat" +
    842         "aTransfer")]
    843     public partial class IntValue : HeuristicLab.Clients.OKB.RunCreation.Value
    844     {
    845        
    846         private int ValueField;
    847        
    848         [System.Runtime.Serialization.DataMemberAttribute()]
    849         public int Value
     841    [System.Runtime.Serialization.DataContractAttribute(Name="TimeSpanValue", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.RunCreation.Dat" +
     842        "aTransfer")]
     843    public partial class TimeSpanValue : HeuristicLab.Clients.OKB.RunCreation.Value
     844    {
     845       
     846        private long ValueField;
     847       
     848        [System.Runtime.Serialization.DataMemberAttribute()]
     849        public long Value
    850850        {
    851851            get
     
    920920    [System.Diagnostics.DebuggerStepThroughAttribute()]
    921921    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    922     [System.Runtime.Serialization.DataContractAttribute(Name="PercentValue", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.RunCreation.Dat" +
    923         "aTransfer")]
    924     public partial class PercentValue : HeuristicLab.Clients.OKB.RunCreation.Value
    925     {
    926        
    927         private double ValueField;
    928        
    929         [System.Runtime.Serialization.DataMemberAttribute()]
    930         public double Value
     922    [System.Runtime.Serialization.DataContractAttribute(Name="StringValue", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.RunCreation.Dat" +
     923        "aTransfer")]
     924    public partial class StringValue : HeuristicLab.Clients.OKB.RunCreation.Value
     925    {
     926       
     927        private string ValueField;
     928       
     929        [System.Runtime.Serialization.DataMemberAttribute()]
     930        public string Value
    931931        {
    932932            get
     
    936936            set
    937937            {
    938                 if ((this.ValueField.Equals(value) != true))
     938                if ((object.ReferenceEquals(this.ValueField, value) != true))
    939939                {
    940940                    this.ValueField = value;
     
    947947    [System.Diagnostics.DebuggerStepThroughAttribute()]
    948948    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
    949     [System.Runtime.Serialization.DataContractAttribute(Name="StringValue", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.RunCreation.Dat" +
    950         "aTransfer")]
    951     public partial class StringValue : HeuristicLab.Clients.OKB.RunCreation.Value
    952     {
    953        
    954         private string ValueField;
    955        
    956         [System.Runtime.Serialization.DataMemberAttribute()]
    957         public string Value
     949    [System.Runtime.Serialization.DataContractAttribute(Name="BinaryValue", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.RunCreation.Dat" +
     950        "aTransfer")]
     951    public partial class BinaryValue : HeuristicLab.Clients.OKB.RunCreation.Value
     952    {
     953       
     954        private byte[] ValueField;
     955       
     956        [System.Runtime.Serialization.DataMemberAttribute()]
     957        public byte[] Value
    958958        {
    959959            get
     
    968968                    this.RaisePropertyChanged("Value");
    969969                }
     970            }
     971        }
     972    }
     973   
     974    [System.Diagnostics.DebuggerStepThroughAttribute()]
     975    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
     976    [System.Runtime.Serialization.DataContractAttribute(Name="MissingProblem", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.RunCreation")]
     977    public partial class MissingProblem : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged
     978    {
     979       
     980        private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
     981       
     982        private string MessageField;
     983       
     984        public System.Runtime.Serialization.ExtensionDataObject ExtensionData
     985        {
     986            get
     987            {
     988                return this.extensionDataField;
     989            }
     990            set
     991            {
     992                this.extensionDataField = value;
     993            }
     994        }
     995       
     996        [System.Runtime.Serialization.DataMemberAttribute()]
     997        public string Message
     998        {
     999            get
     1000            {
     1001                return this.MessageField;
     1002            }
     1003            set
     1004            {
     1005                if ((object.ReferenceEquals(this.MessageField, value) != true))
     1006                {
     1007                    this.MessageField = value;
     1008                    this.RaisePropertyChanged("Message");
     1009                }
     1010            }
     1011        }
     1012       
     1013        public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
     1014       
     1015        protected void RaisePropertyChanged(string propertyName)
     1016        {
     1017            System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
     1018            if ((propertyChanged != null))
     1019            {
     1020                propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
     1021            }
     1022        }
     1023    }
     1024   
     1025    [System.Diagnostics.DebuggerStepThroughAttribute()]
     1026    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
     1027    [System.Runtime.Serialization.DataContractAttribute(Name="UnknownCharacteristicType", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.RunCreation")]
     1028    public partial class UnknownCharacteristicType : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged
     1029    {
     1030       
     1031        private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
     1032       
     1033        private string MessageField;
     1034       
     1035        public System.Runtime.Serialization.ExtensionDataObject ExtensionData
     1036        {
     1037            get
     1038            {
     1039                return this.extensionDataField;
     1040            }
     1041            set
     1042            {
     1043                this.extensionDataField = value;
     1044            }
     1045        }
     1046       
     1047        [System.Runtime.Serialization.DataMemberAttribute()]
     1048        public string Message
     1049        {
     1050            get
     1051            {
     1052                return this.MessageField;
     1053            }
     1054            set
     1055            {
     1056                if ((object.ReferenceEquals(this.MessageField, value) != true))
     1057                {
     1058                    this.MessageField = value;
     1059                    this.RaisePropertyChanged("Message");
     1060                }
     1061            }
     1062        }
     1063       
     1064        public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
     1065       
     1066        protected void RaisePropertyChanged(string propertyName)
     1067        {
     1068            System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
     1069            if ((propertyChanged != null))
     1070            {
     1071                propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
    9701072            }
    9711073        }
     
    9801082        System.Collections.Generic.List<HeuristicLab.Clients.OKB.RunCreation.Algorithm> GetAlgorithms(string platformName);
    9811083       
     1084        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IRunCreationService/GetAlgorithms", ReplyAction="http://tempuri.org/IRunCreationService/GetAlgorithmsResponse")]
     1085        System.Threading.Tasks.Task<System.Collections.Generic.List<HeuristicLab.Clients.OKB.RunCreation.Algorithm>> GetAlgorithmsAsync(string platformName);
     1086       
    9821087        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IRunCreationService/GetAlgorithmData", ReplyAction="http://tempuri.org/IRunCreationService/GetAlgorithmDataResponse")]
    9831088        byte[] GetAlgorithmData(long algorithmId);
    9841089       
     1090        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IRunCreationService/GetAlgorithmData", ReplyAction="http://tempuri.org/IRunCreationService/GetAlgorithmDataResponse")]
     1091        System.Threading.Tasks.Task<byte[]> GetAlgorithmDataAsync(long algorithmId);
     1092       
    9851093        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IRunCreationService/GetProblems", ReplyAction="http://tempuri.org/IRunCreationService/GetProblemsResponse")]
    9861094        System.Collections.Generic.List<HeuristicLab.Clients.OKB.RunCreation.Problem> GetProblems(string platformName);
    9871095       
     1096        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IRunCreationService/GetProblems", ReplyAction="http://tempuri.org/IRunCreationService/GetProblemsResponse")]
     1097        System.Threading.Tasks.Task<System.Collections.Generic.List<HeuristicLab.Clients.OKB.RunCreation.Problem>> GetProblemsAsync(string platformName);
     1098       
    9881099        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IRunCreationService/GetProblemData", ReplyAction="http://tempuri.org/IRunCreationService/GetProblemDataResponse")]
    9891100        byte[] GetProblemData(long problemId);
    9901101       
     1102        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IRunCreationService/GetProblemData", ReplyAction="http://tempuri.org/IRunCreationService/GetProblemDataResponse")]
     1103        System.Threading.Tasks.Task<byte[]> GetProblemDataAsync(long problemId);
     1104       
    9911105        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IRunCreationService/AddRun", ReplyAction="http://tempuri.org/IRunCreationService/AddRunResponse")]
    9921106        void AddRun(HeuristicLab.Clients.OKB.RunCreation.Run run);
     1107       
     1108        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IRunCreationService/AddRun", ReplyAction="http://tempuri.org/IRunCreationService/AddRunResponse")]
     1109        System.Threading.Tasks.Task AddRunAsync(HeuristicLab.Clients.OKB.RunCreation.Run run);
     1110       
     1111        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IRunCreationService/SetCharacteristicValue", ReplyAction="http://tempuri.org/IRunCreationService/SetCharacteristicValueResponse")]
     1112        [System.ServiceModel.FaultContractAttribute(typeof(HeuristicLab.Clients.OKB.RunCreation.MissingProblem), Action="http://tempuri.org/IRunCreationService/SetCharacteristicValueMissingProblemFault", Name="MissingProblem", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.RunCreation")]
     1113        [System.ServiceModel.FaultContractAttribute(typeof(HeuristicLab.Clients.OKB.RunCreation.UnknownCharacteristicType), Action="http://tempuri.org/IRunCreationService/SetCharacteristicValueUnknownCharacteristi" +
     1114            "cTypeFault", Name="UnknownCharacteristicType", Namespace="http://schemas.datacontract.org/2004/07/HeuristicLab.Services.OKB.RunCreation")]
     1115        void SetCharacteristicValue(long problemId, string characteristicName, HeuristicLab.Clients.OKB.RunCreation.Value value);
     1116       
     1117        [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IRunCreationService/SetCharacteristicValue", ReplyAction="http://tempuri.org/IRunCreationService/SetCharacteristicValueResponse")]
     1118        System.Threading.Tasks.Task SetCharacteristicValueAsync(long problemId, string characteristicName, HeuristicLab.Clients.OKB.RunCreation.Value value);
    9931119    }
    9941120   
     
    10321158        }
    10331159       
     1160        public System.Threading.Tasks.Task<System.Collections.Generic.List<HeuristicLab.Clients.OKB.RunCreation.Algorithm>> GetAlgorithmsAsync(string platformName)
     1161        {
     1162            return base.Channel.GetAlgorithmsAsync(platformName);
     1163        }
     1164       
    10341165        public byte[] GetAlgorithmData(long algorithmId)
    10351166        {
     
    10371168        }
    10381169       
     1170        public System.Threading.Tasks.Task<byte[]> GetAlgorithmDataAsync(long algorithmId)
     1171        {
     1172            return base.Channel.GetAlgorithmDataAsync(algorithmId);
     1173        }
     1174       
    10391175        public System.Collections.Generic.List<HeuristicLab.Clients.OKB.RunCreation.Problem> GetProblems(string platformName)
    10401176        {
     
    10421178        }
    10431179       
     1180        public System.Threading.Tasks.Task<System.Collections.Generic.List<HeuristicLab.Clients.OKB.RunCreation.Problem>> GetProblemsAsync(string platformName)
     1181        {
     1182            return base.Channel.GetProblemsAsync(platformName);
     1183        }
     1184       
    10441185        public byte[] GetProblemData(long problemId)
    10451186        {
     
    10471188        }
    10481189       
     1190        public System.Threading.Tasks.Task<byte[]> GetProblemDataAsync(long problemId)
     1191        {
     1192            return base.Channel.GetProblemDataAsync(problemId);
     1193        }
     1194       
    10491195        public void AddRun(HeuristicLab.Clients.OKB.RunCreation.Run run)
    10501196        {
    10511197            base.Channel.AddRun(run);
    10521198        }
     1199       
     1200        public System.Threading.Tasks.Task AddRunAsync(HeuristicLab.Clients.OKB.RunCreation.Run run)
     1201        {
     1202            return base.Channel.AddRunAsync(run);
     1203        }
     1204       
     1205        public void SetCharacteristicValue(long problemId, string characteristicName, HeuristicLab.Clients.OKB.RunCreation.Value value)
     1206        {
     1207            base.Channel.SetCharacteristicValue(problemId, characteristicName, value);
     1208        }
     1209       
     1210        public System.Threading.Tasks.Task SetCharacteristicValueAsync(long problemId, string characteristicName, HeuristicLab.Clients.OKB.RunCreation.Value value)
     1211        {
     1212            return base.Channel.SetCharacteristicValueAsync(problemId, characteristicName, value);
     1213        }
    10531214    }
    10541215}
Note: See TracChangeset for help on using the changeset viewer.