| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361 |
- //------------------------------------------------------------------------------
- // <auto-generated>
- // 此代码由工具生成。
- // 运行时版本:4.0.30319.42000
- //
- // 对此文件的更改可能会导致不正确的行为,并且如果
- // 重新生成代码,这些更改将会丢失。
- // </auto-generated>
- //------------------------------------------------------------------------------
- namespace WebService.Test.Ws {
- using System.Runtime.Serialization;
- using System;
-
-
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
- [System.Runtime.Serialization.DataContractAttribute(Name="AjaxResultWs", Namespace="http://tempuri.org/")]
- [System.SerializableAttribute()]
- public partial class AjaxResultWs : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
-
- [System.NonSerializedAttribute()]
- private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
-
- private bool SuccessField;
-
- [System.Runtime.Serialization.OptionalFieldAttribute()]
- private string MessageField;
-
- [System.Runtime.Serialization.OptionalFieldAttribute()]
- private string IdField;
-
- [System.Runtime.Serialization.OptionalFieldAttribute()]
- private string NameField;
-
- private bool IsCompleteField;
-
- private int TotalCountField;
-
- [global::System.ComponentModel.BrowsableAttribute(false)]
- public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
- get {
- return this.extensionDataField;
- }
- set {
- this.extensionDataField = value;
- }
- }
-
- [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true)]
- public bool Success {
- get {
- return this.SuccessField;
- }
- set {
- if ((this.SuccessField.Equals(value) != true)) {
- this.SuccessField = value;
- this.RaisePropertyChanged("Success");
- }
- }
- }
-
- [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=1)]
- public string Message {
- get {
- return this.MessageField;
- }
- set {
- if ((object.ReferenceEquals(this.MessageField, value) != true)) {
- this.MessageField = value;
- this.RaisePropertyChanged("Message");
- }
- }
- }
-
- [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=2)]
- public string Id {
- get {
- return this.IdField;
- }
- set {
- if ((object.ReferenceEquals(this.IdField, value) != true)) {
- this.IdField = value;
- this.RaisePropertyChanged("Id");
- }
- }
- }
-
- [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=3)]
- public string Name {
- get {
- return this.NameField;
- }
- set {
- if ((object.ReferenceEquals(this.NameField, value) != true)) {
- this.NameField = value;
- this.RaisePropertyChanged("Name");
- }
- }
- }
-
- [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true, Order=4)]
- public bool IsComplete {
- get {
- return this.IsCompleteField;
- }
- set {
- if ((this.IsCompleteField.Equals(value) != true)) {
- this.IsCompleteField = value;
- this.RaisePropertyChanged("IsComplete");
- }
- }
- }
-
- [System.Runtime.Serialization.DataMemberAttribute(IsRequired=true, Order=5)]
- public int TotalCount {
- get {
- return this.TotalCountField;
- }
- set {
- if ((this.TotalCountField.Equals(value) != true)) {
- this.TotalCountField = value;
- this.RaisePropertyChanged("TotalCount");
- }
- }
- }
-
- public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
-
- protected void RaisePropertyChanged(string propertyName) {
- System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
- if ((propertyChanged != null)) {
- propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
- }
- }
- }
-
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ServiceModel.ServiceContractAttribute(ConfigurationName="Ws.ISmartExerciseWebService")]
- public interface ISmartExerciseWebService {
-
- // CODEGEN: 命名空间 http://tempuri.org/ 的元素名称 QueryActionResult 以后生成的消息协定未标记为 nillable
- [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISmartExerciseWebService/QueryAction", ReplyAction="*")]
- WebService.Test.Ws.QueryActionResponse QueryAction(WebService.Test.Ws.QueryActionRequest request);
-
- [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISmartExerciseWebService/QueryAction", ReplyAction="*")]
- System.Threading.Tasks.Task<WebService.Test.Ws.QueryActionResponse> QueryActionAsync(WebService.Test.Ws.QueryActionRequest request);
-
- // CODEGEN: 命名空间 http://tempuri.org/ 的元素名称 id 以后生成的消息协定未标记为 nillable
- [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISmartExerciseWebService/CompleteAction", ReplyAction="*")]
- WebService.Test.Ws.CompleteActionResponse CompleteAction(WebService.Test.Ws.CompleteActionRequest request);
-
- [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ISmartExerciseWebService/CompleteAction", ReplyAction="*")]
- System.Threading.Tasks.Task<WebService.Test.Ws.CompleteActionResponse> CompleteActionAsync(WebService.Test.Ws.CompleteActionRequest request);
- }
-
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- [System.ServiceModel.MessageContractAttribute(IsWrapped=false)]
- public partial class QueryActionRequest {
-
- [System.ServiceModel.MessageBodyMemberAttribute(Name="QueryAction", Namespace="http://tempuri.org/", Order=0)]
- public WebService.Test.Ws.QueryActionRequestBody Body;
-
- public QueryActionRequest() {
- }
-
- public QueryActionRequest(WebService.Test.Ws.QueryActionRequestBody Body) {
- this.Body = Body;
- }
- }
-
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- [System.Runtime.Serialization.DataContractAttribute()]
- public partial class QueryActionRequestBody {
-
- public QueryActionRequestBody() {
- }
- }
-
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- [System.ServiceModel.MessageContractAttribute(IsWrapped=false)]
- public partial class QueryActionResponse {
-
- [System.ServiceModel.MessageBodyMemberAttribute(Name="QueryActionResponse", Namespace="http://tempuri.org/", Order=0)]
- public WebService.Test.Ws.QueryActionResponseBody Body;
-
- public QueryActionResponse() {
- }
-
- public QueryActionResponse(WebService.Test.Ws.QueryActionResponseBody Body) {
- this.Body = Body;
- }
- }
-
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- [System.Runtime.Serialization.DataContractAttribute(Namespace="http://tempuri.org/")]
- public partial class QueryActionResponseBody {
-
- [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=0)]
- public WebService.Test.Ws.AjaxResultWs QueryActionResult;
-
- public QueryActionResponseBody() {
- }
-
- public QueryActionResponseBody(WebService.Test.Ws.AjaxResultWs QueryActionResult) {
- this.QueryActionResult = QueryActionResult;
- }
- }
-
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- [System.ServiceModel.MessageContractAttribute(IsWrapped=false)]
- public partial class CompleteActionRequest {
-
- [System.ServiceModel.MessageBodyMemberAttribute(Name="CompleteAction", Namespace="http://tempuri.org/", Order=0)]
- public WebService.Test.Ws.CompleteActionRequestBody Body;
-
- public CompleteActionRequest() {
- }
-
- public CompleteActionRequest(WebService.Test.Ws.CompleteActionRequestBody Body) {
- this.Body = Body;
- }
- }
-
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- [System.Runtime.Serialization.DataContractAttribute(Namespace="http://tempuri.org/")]
- public partial class CompleteActionRequestBody {
-
- [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=0)]
- public string id;
-
- public CompleteActionRequestBody() {
- }
-
- public CompleteActionRequestBody(string id) {
- this.id = id;
- }
- }
-
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- [System.ServiceModel.MessageContractAttribute(IsWrapped=false)]
- public partial class CompleteActionResponse {
-
- [System.ServiceModel.MessageBodyMemberAttribute(Name="CompleteActionResponse", Namespace="http://tempuri.org/", Order=0)]
- public WebService.Test.Ws.CompleteActionResponseBody Body;
-
- public CompleteActionResponse() {
- }
-
- public CompleteActionResponse(WebService.Test.Ws.CompleteActionResponseBody Body) {
- this.Body = Body;
- }
- }
-
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- [System.Runtime.Serialization.DataContractAttribute(Namespace="http://tempuri.org/")]
- public partial class CompleteActionResponseBody {
-
- [System.Runtime.Serialization.DataMemberAttribute(EmitDefaultValue=false, Order=0)]
- public WebService.Test.Ws.AjaxResultWs CompleteActionResult;
-
- public CompleteActionResponseBody() {
- }
-
- public CompleteActionResponseBody(WebService.Test.Ws.AjaxResultWs CompleteActionResult) {
- this.CompleteActionResult = CompleteActionResult;
- }
- }
-
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- public interface ISmartExerciseWebServiceChannel : WebService.Test.Ws.ISmartExerciseWebService, System.ServiceModel.IClientChannel {
- }
-
- [System.Diagnostics.DebuggerStepThroughAttribute()]
- [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
- public partial class SmartExerciseWebServiceClient : System.ServiceModel.ClientBase<WebService.Test.Ws.ISmartExerciseWebService>, WebService.Test.Ws.ISmartExerciseWebService {
-
- public SmartExerciseWebServiceClient() {
- }
-
- public SmartExerciseWebServiceClient(string endpointConfigurationName) :
- base(endpointConfigurationName) {
- }
-
- public SmartExerciseWebServiceClient(string endpointConfigurationName, string remoteAddress) :
- base(endpointConfigurationName, remoteAddress) {
- }
-
- public SmartExerciseWebServiceClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
- base(endpointConfigurationName, remoteAddress) {
- }
-
- public SmartExerciseWebServiceClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
- base(binding, remoteAddress) {
- }
-
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- WebService.Test.Ws.QueryActionResponse WebService.Test.Ws.ISmartExerciseWebService.QueryAction(WebService.Test.Ws.QueryActionRequest request) {
- return base.Channel.QueryAction(request);
- }
-
- public WebService.Test.Ws.AjaxResultWs QueryAction() {
- WebService.Test.Ws.QueryActionRequest inValue = new WebService.Test.Ws.QueryActionRequest();
- inValue.Body = new WebService.Test.Ws.QueryActionRequestBody();
- WebService.Test.Ws.QueryActionResponse retVal = ((WebService.Test.Ws.ISmartExerciseWebService)(this)).QueryAction(inValue);
- return retVal.Body.QueryActionResult;
- }
-
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- System.Threading.Tasks.Task<WebService.Test.Ws.QueryActionResponse> WebService.Test.Ws.ISmartExerciseWebService.QueryActionAsync(WebService.Test.Ws.QueryActionRequest request) {
- return base.Channel.QueryActionAsync(request);
- }
-
- public System.Threading.Tasks.Task<WebService.Test.Ws.QueryActionResponse> QueryActionAsync() {
- WebService.Test.Ws.QueryActionRequest inValue = new WebService.Test.Ws.QueryActionRequest();
- inValue.Body = new WebService.Test.Ws.QueryActionRequestBody();
- return ((WebService.Test.Ws.ISmartExerciseWebService)(this)).QueryActionAsync(inValue);
- }
-
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- WebService.Test.Ws.CompleteActionResponse WebService.Test.Ws.ISmartExerciseWebService.CompleteAction(WebService.Test.Ws.CompleteActionRequest request) {
- return base.Channel.CompleteAction(request);
- }
-
- public WebService.Test.Ws.AjaxResultWs CompleteAction(string id) {
- WebService.Test.Ws.CompleteActionRequest inValue = new WebService.Test.Ws.CompleteActionRequest();
- inValue.Body = new WebService.Test.Ws.CompleteActionRequestBody();
- inValue.Body.id = id;
- WebService.Test.Ws.CompleteActionResponse retVal = ((WebService.Test.Ws.ISmartExerciseWebService)(this)).CompleteAction(inValue);
- return retVal.Body.CompleteActionResult;
- }
-
- [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
- System.Threading.Tasks.Task<WebService.Test.Ws.CompleteActionResponse> WebService.Test.Ws.ISmartExerciseWebService.CompleteActionAsync(WebService.Test.Ws.CompleteActionRequest request) {
- return base.Channel.CompleteActionAsync(request);
- }
-
- public System.Threading.Tasks.Task<WebService.Test.Ws.CompleteActionResponse> CompleteActionAsync(string id) {
- WebService.Test.Ws.CompleteActionRequest inValue = new WebService.Test.Ws.CompleteActionRequest();
- inValue.Body = new WebService.Test.Ws.CompleteActionRequestBody();
- inValue.Body.id = id;
- return ((WebService.Test.Ws.ISmartExerciseWebService)(this)).CompleteActionAsync(inValue);
- }
- }
- }
|