/Trabalho 3 - Web Services/VisualStudioSolution/SupplierService/Service References/CentralServiceReference/Reference.cs

https://bitbucket.org/masterzdran/meic-1213-sd · C# · 248 lines · 191 code · 48 blank · 9 comment · 12 complexity · 96a03471da65cadd5ea459b50d2cd301 MD5 · raw file

  1. //------------------------------------------------------------------------------
  2. // <auto-generated>
  3. // This code was generated by a tool.
  4. // Runtime Version:4.0.30319.18010
  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. namespace SupplierProject.CentralServiceReference {
  11. using System.Runtime.Serialization;
  12. using System;
  13. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
  14. [System.Runtime.Serialization.DataContractAttribute(Name="ProductFamilly", Namespace="http://schemas.datacontract.org/2004/07/CentralProject")]
  15. public enum ProductFamilly : int {
  16. [System.Runtime.Serialization.EnumMemberAttribute()]
  17. Hardware = 0,
  18. [System.Runtime.Serialization.EnumMemberAttribute()]
  19. Software = 1,
  20. [System.Runtime.Serialization.EnumMemberAttribute()]
  21. Servicos = 2,
  22. }
  23. [System.Diagnostics.DebuggerStepThroughAttribute()]
  24. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
  25. [System.Runtime.Serialization.DataContractAttribute(Name="SubmissionFault", Namespace="http://schemas.datacontract.org/2004/07/CentralProject")]
  26. [System.SerializableAttribute()]
  27. public partial class SubmissionFault : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
  28. [System.NonSerializedAttribute()]
  29. private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
  30. [System.Runtime.Serialization.OptionalFieldAttribute()]
  31. private string DetailsField;
  32. [System.Runtime.Serialization.OptionalFieldAttribute()]
  33. private SupplierProject.CentralServiceReference.ProductFamilly SupplierFamillyField;
  34. [global::System.ComponentModel.BrowsableAttribute(false)]
  35. public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
  36. get {
  37. return this.extensionDataField;
  38. }
  39. set {
  40. this.extensionDataField = value;
  41. }
  42. }
  43. [System.Runtime.Serialization.DataMemberAttribute()]
  44. public string Details {
  45. get {
  46. return this.DetailsField;
  47. }
  48. set {
  49. if ((object.ReferenceEquals(this.DetailsField, value) != true)) {
  50. this.DetailsField = value;
  51. this.RaisePropertyChanged("Details");
  52. }
  53. }
  54. }
  55. [System.Runtime.Serialization.DataMemberAttribute()]
  56. public SupplierProject.CentralServiceReference.ProductFamilly SupplierFamilly {
  57. get {
  58. return this.SupplierFamillyField;
  59. }
  60. set {
  61. if ((this.SupplierFamillyField.Equals(value) != true)) {
  62. this.SupplierFamillyField = value;
  63. this.RaisePropertyChanged("SupplierFamilly");
  64. }
  65. }
  66. }
  67. public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
  68. protected void RaisePropertyChanged(string propertyName) {
  69. System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
  70. if ((propertyChanged != null)) {
  71. propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
  72. }
  73. }
  74. }
  75. [System.Diagnostics.DebuggerStepThroughAttribute()]
  76. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Runtime.Serialization", "4.0.0.0")]
  77. [System.Runtime.Serialization.DataContractAttribute(Name="CentralComposite", Namespace="http://schemas.datacontract.org/2004/07/CentralProject")]
  78. [System.SerializableAttribute()]
  79. public partial class CentralComposite : object, System.Runtime.Serialization.IExtensibleDataObject, System.ComponentModel.INotifyPropertyChanged {
  80. [System.NonSerializedAttribute()]
  81. private System.Runtime.Serialization.ExtensionDataObject extensionDataField;
  82. [System.Runtime.Serialization.OptionalFieldAttribute()]
  83. private int AcquirementProposalIdField;
  84. [System.Runtime.Serialization.OptionalFieldAttribute()]
  85. private System.Uri[] SuppliersField;
  86. [global::System.ComponentModel.BrowsableAttribute(false)]
  87. public System.Runtime.Serialization.ExtensionDataObject ExtensionData {
  88. get {
  89. return this.extensionDataField;
  90. }
  91. set {
  92. this.extensionDataField = value;
  93. }
  94. }
  95. [System.Runtime.Serialization.DataMemberAttribute()]
  96. public int AcquirementProposalId {
  97. get {
  98. return this.AcquirementProposalIdField;
  99. }
  100. set {
  101. if ((this.AcquirementProposalIdField.Equals(value) != true)) {
  102. this.AcquirementProposalIdField = value;
  103. this.RaisePropertyChanged("AcquirementProposalId");
  104. }
  105. }
  106. }
  107. [System.Runtime.Serialization.DataMemberAttribute()]
  108. public System.Uri[] Suppliers {
  109. get {
  110. return this.SuppliersField;
  111. }
  112. set {
  113. if ((object.ReferenceEquals(this.SuppliersField, value) != true)) {
  114. this.SuppliersField = value;
  115. this.RaisePropertyChanged("Suppliers");
  116. }
  117. }
  118. }
  119. public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;
  120. protected void RaisePropertyChanged(string propertyName) {
  121. System.ComponentModel.PropertyChangedEventHandler propertyChanged = this.PropertyChanged;
  122. if ((propertyChanged != null)) {
  123. propertyChanged(this, new System.ComponentModel.PropertyChangedEventArgs(propertyName));
  124. }
  125. }
  126. }
  127. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
  128. [System.ServiceModel.ServiceContractAttribute(ConfigurationName="CentralServiceReference.IManageSupplier", CallbackContract=typeof(SupplierProject.CentralServiceReference.IManageSupplierCallback), SessionMode=System.ServiceModel.SessionMode.Required)]
  129. public interface IManageSupplier {
  130. [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IManageSupplier/RegisterSupplier", ReplyAction="http://tempuri.org/IManageSupplier/RegisterSupplierResponse")]
  131. [System.ServiceModel.FaultContractAttribute(typeof(SupplierProject.CentralServiceReference.SubmissionFault), Action="http://tempuri.org/IManageSupplier/RegisterSupplierSubmissionFaultFault", Name="SubmissionFault", Namespace="http://schemas.datacontract.org/2004/07/CentralProject")]
  132. void RegisterSupplier(SupplierProject.CentralServiceReference.ProductFamilly productFamilly, System.Uri uri);
  133. [System.ServiceModel.OperationContractAttribute(IsTerminating=true, IsInitiating=false, Action="http://tempuri.org/IManageSupplier/UnregisterSupplier", ReplyAction="http://tempuri.org/IManageSupplier/UnregisterSupplierResponse")]
  134. [System.ServiceModel.FaultContractAttribute(typeof(SupplierProject.CentralServiceReference.SubmissionFault), Action="http://tempuri.org/IManageSupplier/UnregisterSupplierSubmissionFaultFault", Name="SubmissionFault", Namespace="http://schemas.datacontract.org/2004/07/CentralProject")]
  135. void UnregisterSupplier(SupplierProject.CentralServiceReference.ProductFamilly productFamilly, System.Uri uri);
  136. }
  137. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
  138. public interface IManageSupplierCallback {
  139. [System.ServiceModel.OperationContractAttribute(IsOneWay=true, Action="http://tempuri.org/IManageSupplier/NotifyProposal")]
  140. void NotifyProposal(int acquirementProposalId, System.Uri uriBuyer);
  141. }
  142. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
  143. public interface IManageSupplierChannel : SupplierProject.CentralServiceReference.IManageSupplier, System.ServiceModel.IClientChannel {
  144. }
  145. [System.Diagnostics.DebuggerStepThroughAttribute()]
  146. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
  147. public partial class ManageSupplierClient : System.ServiceModel.DuplexClientBase<SupplierProject.CentralServiceReference.IManageSupplier>, SupplierProject.CentralServiceReference.IManageSupplier {
  148. public ManageSupplierClient(System.ServiceModel.InstanceContext callbackInstance) :
  149. base(callbackInstance) {
  150. }
  151. public ManageSupplierClient(System.ServiceModel.InstanceContext callbackInstance, string endpointConfigurationName) :
  152. base(callbackInstance, endpointConfigurationName) {
  153. }
  154. public ManageSupplierClient(System.ServiceModel.InstanceContext callbackInstance, string endpointConfigurationName, string remoteAddress) :
  155. base(callbackInstance, endpointConfigurationName, remoteAddress) {
  156. }
  157. public ManageSupplierClient(System.ServiceModel.InstanceContext callbackInstance, string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
  158. base(callbackInstance, endpointConfigurationName, remoteAddress) {
  159. }
  160. public ManageSupplierClient(System.ServiceModel.InstanceContext callbackInstance, System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
  161. base(callbackInstance, binding, remoteAddress) {
  162. }
  163. public void RegisterSupplier(SupplierProject.CentralServiceReference.ProductFamilly productFamilly, System.Uri uri) {
  164. base.Channel.RegisterSupplier(productFamilly, uri);
  165. }
  166. public void UnregisterSupplier(SupplierProject.CentralServiceReference.ProductFamilly productFamilly, System.Uri uri) {
  167. base.Channel.UnregisterSupplier(productFamilly, uri);
  168. }
  169. }
  170. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
  171. [System.ServiceModel.ServiceContractAttribute(ConfigurationName="CentralServiceReference.IManageBuyerProposal")]
  172. public interface IManageBuyerProposal {
  173. [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IManageBuyerProposal/SubmitBuyerProposal", ReplyAction="http://tempuri.org/IManageBuyerProposal/SubmitBuyerProposalResponse")]
  174. SupplierProject.CentralServiceReference.CentralComposite SubmitBuyerProposal(SupplierProject.CentralServiceReference.ProductFamilly productFamilly, System.Uri uriBuyer);
  175. }
  176. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
  177. public interface IManageBuyerProposalChannel : SupplierProject.CentralServiceReference.IManageBuyerProposal, System.ServiceModel.IClientChannel {
  178. }
  179. [System.Diagnostics.DebuggerStepThroughAttribute()]
  180. [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")]
  181. public partial class ManageBuyerProposalClient : System.ServiceModel.ClientBase<SupplierProject.CentralServiceReference.IManageBuyerProposal>, SupplierProject.CentralServiceReference.IManageBuyerProposal {
  182. public ManageBuyerProposalClient() {
  183. }
  184. public ManageBuyerProposalClient(string endpointConfigurationName) :
  185. base(endpointConfigurationName) {
  186. }
  187. public ManageBuyerProposalClient(string endpointConfigurationName, string remoteAddress) :
  188. base(endpointConfigurationName, remoteAddress) {
  189. }
  190. public ManageBuyerProposalClient(string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) :
  191. base(endpointConfigurationName, remoteAddress) {
  192. }
  193. public ManageBuyerProposalClient(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) :
  194. base(binding, remoteAddress) {
  195. }
  196. public SupplierProject.CentralServiceReference.CentralComposite SubmitBuyerProposal(SupplierProject.CentralServiceReference.ProductFamilly productFamilly, System.Uri uriBuyer) {
  197. return base.Channel.SubmitBuyerProposal(productFamilly, uriBuyer);
  198. }
  199. }
  200. }