ProtocolImporter.cs 4.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221
  1. //
  2. // System.Web.Services.Description.ProtocolImporter.cs
  3. //
  4. // Author:
  5. // Tim Coleman ([email protected])
  6. //
  7. // Copyright (C) Tim Coleman, 2002
  8. //
  9. using System.CodeDom;
  10. using System.Web.Services;
  11. using System.Xml.Serialization;
  12. namespace System.Web.Services.Description {
  13. public abstract class ProtocolImporter {
  14. #region Fields
  15. XmlSchemas abstractSchemas;
  16. Binding binding;
  17. string className;
  18. CodeIdentifiers classNames;
  19. CodeNamespace codeNamespace;
  20. CodeTypeDeclaration codeTypeDeclaration;
  21. XmlSchemas concreteSchemas;
  22. Message inputMessage;
  23. string methodName;
  24. Operation operation;
  25. OperationBinding operationBinding;
  26. Message outputMessage;
  27. Port port;
  28. PortType portType;
  29. string protocolName;
  30. XmlSchemas schemas;
  31. Service service;
  32. ServiceDescriptionCollection serviceDescriptions;
  33. ServiceDescriptionImportStyle style;
  34. ServiceDescriptionImportWarnings warnings;
  35. #endregion // Fields
  36. #region Constructors
  37. [MonoTODO]
  38. protected ProtocolImporter ()
  39. {
  40. throw new NotImplementedException ();
  41. }
  42. #endregion // Constructors
  43. #region Properties
  44. public XmlSchemas AbstractSchemas {
  45. [MonoTODO]
  46. get { throw new NotImplementedException (); }
  47. }
  48. public Binding Binding {
  49. [MonoTODO]
  50. get { throw new NotImplementedException (); }
  51. }
  52. public string ClassName {
  53. [MonoTODO]
  54. get { throw new NotImplementedException (); }
  55. }
  56. public CodeIdentifiers ClassNames {
  57. [MonoTODO]
  58. get { throw new NotImplementedException (); }
  59. }
  60. public CodeNamespace CodeNamespace {
  61. [MonoTODO]
  62. get { throw new NotImplementedException (); }
  63. }
  64. public CodeTypeDeclaration CodeTypeDeclaration {
  65. [MonoTODO]
  66. get { throw new NotImplementedException (); }
  67. }
  68. public XmlSchemas ConcreteSchemas {
  69. [MonoTODO]
  70. get { throw new NotImplementedException (); }
  71. }
  72. public Message InputMessage {
  73. [MonoTODO]
  74. get { throw new NotImplementedException (); }
  75. }
  76. public string MethodName {
  77. [MonoTODO]
  78. get { throw new NotImplementedException (); }
  79. }
  80. public Operation Operation {
  81. [MonoTODO]
  82. get { throw new NotImplementedException (); }
  83. }
  84. public OperationBinding OperationBinding {
  85. [MonoTODO]
  86. get { throw new NotImplementedException (); }
  87. }
  88. public Message OutputMessage {
  89. [MonoTODO]
  90. get { throw new NotImplementedException (); }
  91. }
  92. public Port Port {
  93. [MonoTODO]
  94. get { throw new NotImplementedException (); }
  95. }
  96. public PortType PortType {
  97. [MonoTODO]
  98. get { throw new NotImplementedException (); }
  99. }
  100. public abstract string ProtocolName {
  101. get;
  102. }
  103. public XmlSchemas Schemas {
  104. [MonoTODO]
  105. get { throw new NotImplementedException (); }
  106. }
  107. public Service Service {
  108. [MonoTODO]
  109. get { throw new NotImplementedException (); }
  110. }
  111. public ServiceDescriptionCollection ServiceDescriptions {
  112. [MonoTODO]
  113. get { throw new NotImplementedException (); }
  114. }
  115. public ServiceDescriptionImportStyle Style {
  116. [MonoTODO]
  117. get { throw new NotImplementedException (); }
  118. }
  119. public ServiceDescriptionImportWarnings Warnings {
  120. [MonoTODO]
  121. get { throw new NotImplementedException (); }
  122. [MonoTODO]
  123. set { throw new NotImplementedException (); }
  124. }
  125. #endregion // Properties
  126. #region Methods
  127. [MonoTODO]
  128. public void AddExtensionWarningComments (CodeCommentStatementCollection comments, ServiceDescriptionFormatExtensionCollection extensions)
  129. {
  130. throw new NotImplementedException ();
  131. }
  132. protected abstract CodeTypeDeclaration BeginClass ();
  133. [MonoTODO]
  134. protected virtual void BeginNamespace ()
  135. {
  136. throw new NotImplementedException ();
  137. }
  138. [MonoTODO]
  139. protected virtual void EndClass ()
  140. {
  141. throw new NotImplementedException ();
  142. }
  143. [MonoTODO]
  144. protected virtual void EndNamespace ()
  145. {
  146. throw new NotImplementedException ();
  147. }
  148. protected abstract CodeMemberMethod GenerateMethod ();
  149. protected abstract bool IsBindingSupported ();
  150. protected abstract bool IsOperationFlowSupported (OperationFlow flow);
  151. [MonoTODO]
  152. public Exception OperationBindingSyntaxException (string text)
  153. {
  154. throw new NotImplementedException ();
  155. }
  156. [MonoTODO]
  157. public Exception OperationSyntaxException (string text)
  158. {
  159. throw new NotImplementedException ();
  160. }
  161. [MonoTODO]
  162. public void UnsupportedBindingWarning (string text)
  163. {
  164. throw new NotImplementedException ();
  165. }
  166. [MonoTODO]
  167. public void UnsupportedOperationBindingWarning (string text)
  168. {
  169. throw new NotImplementedException ();
  170. }
  171. [MonoTODO]
  172. public void UnsupportedOperationWarning (string text)
  173. {
  174. throw new NotImplementedException ();
  175. }
  176. #endregion
  177. }
  178. }