ProtocolReflector.cs 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192
  1. //
  2. // System.Web.Services.Description.ProtocolReflector.cs
  3. //
  4. // Author:
  5. // Tim Coleman ([email protected])
  6. //
  7. // Copyright (C) Tim Coleman, 2002
  8. //
  9. using System.Web.Services;
  10. using System.Web.Services.Protocols;
  11. using System.Xml.Serialization;
  12. namespace System.Web.Services.Description {
  13. public abstract class ProtocolReflector {
  14. #region Fields
  15. Binding binding;
  16. string defaultNamespace;
  17. MessageCollection headerMessages;
  18. Message inputMessage;
  19. LogicalMethodInfo method;
  20. WebMethodAttribute methodAttribute;
  21. LogicalMethodInfo[] methods;
  22. Operation operation;
  23. OperationBinding operationBinding;
  24. Message outputMessage;
  25. Port port;
  26. PortType portType;
  27. string protocolName;
  28. XmlReflectionImporter reflectionImporter;
  29. XmlSchemaExporter schemaExporter;
  30. XmlSchemas schemas;
  31. Service service;
  32. ServiceDescription serviceDescription;
  33. ServiceDescriptionCollection serviceDescriptions;
  34. Type serviceType;
  35. string serviceUrl;
  36. #endregion // Fields
  37. #region Constructors
  38. [MonoTODO]
  39. protected ProtocolReflector ()
  40. {
  41. throw new NotImplementedException ();
  42. }
  43. #endregion // Constructors
  44. #region Properties
  45. public Binding Binding {
  46. [MonoTODO]
  47. get { throw new NotImplementedException (); }
  48. }
  49. public string DefaultNamespace {
  50. [MonoTODO]
  51. get { throw new NotImplementedException (); }
  52. }
  53. public MessageCollection HeaderMessages {
  54. [MonoTODO]
  55. get { throw new NotImplementedException (); }
  56. }
  57. public Message InputMessage {
  58. [MonoTODO]
  59. get { throw new NotImplementedException (); }
  60. }
  61. public LogicalMethodInfo Method {
  62. [MonoTODO]
  63. get { throw new NotImplementedException (); }
  64. }
  65. public WebMethodAttribute MethodAttribute {
  66. [MonoTODO]
  67. get { throw new NotImplementedException (); }
  68. }
  69. public LogicalMethodInfo[] Methods {
  70. [MonoTODO]
  71. get { throw new NotImplementedException (); }
  72. }
  73. public Operation Operation {
  74. [MonoTODO]
  75. get { throw new NotImplementedException (); }
  76. }
  77. public OperationBinding OperationBinding {
  78. [MonoTODO]
  79. get { throw new NotImplementedException (); }
  80. }
  81. public Message OutputMessage {
  82. [MonoTODO]
  83. get { throw new NotImplementedException (); }
  84. }
  85. public Port Port {
  86. [MonoTODO]
  87. get { throw new NotImplementedException (); }
  88. }
  89. public PortType PortType {
  90. [MonoTODO]
  91. get { throw new NotImplementedException (); }
  92. }
  93. public abstract string ProtocolName {
  94. get;
  95. }
  96. public XmlReflectionImporter ReflectionImporter {
  97. [MonoTODO]
  98. get { throw new NotImplementedException (); }
  99. }
  100. public XmlSchemaExporter SchemaExporter {
  101. [MonoTODO]
  102. get { throw new NotImplementedException (); }
  103. }
  104. public XmlSchemas Schemas {
  105. [MonoTODO]
  106. get { throw new NotImplementedException (); }
  107. }
  108. public Service Service {
  109. [MonoTODO]
  110. get { throw new NotImplementedException (); }
  111. }
  112. public ServiceDescription ServiceDescription {
  113. [MonoTODO]
  114. get { throw new NotImplementedException (); }
  115. }
  116. public ServiceDescriptionCollection ServiceDescriptions {
  117. [MonoTODO]
  118. get { throw new NotImplementedException (); }
  119. }
  120. public Type ServiceType {
  121. [MonoTODO]
  122. get { throw new NotImplementedException (); }
  123. }
  124. public string ServiceUrl {
  125. [MonoTODO]
  126. get { throw new NotImplementedException (); }
  127. }
  128. #endregion // Properties
  129. #region Methods
  130. [MonoTODO]
  131. protected virtual void BeginClass ()
  132. {
  133. throw new NotImplementedException ();
  134. }
  135. [MonoTODO]
  136. protected virtual void EndClass ()
  137. {
  138. throw new NotImplementedException ();
  139. }
  140. [MonoTODO]
  141. public ServiceDescription GetServiceDescription (string ns)
  142. {
  143. throw new NotImplementedException ();
  144. }
  145. protected abstract bool ReflectMethod ();
  146. [MonoTODO]
  147. protected virtual string ReflectMethodBinding ()
  148. {
  149. throw new NotImplementedException ();
  150. }
  151. #endregion
  152. }
  153. }