ServiceDescriptionImporter.cs 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. //
  2. // System.Web.Services.Description.ServiceDescriptionImporter.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 class ServiceDescriptionImporter {
  14. #region Fields
  15. string protocolName;
  16. XmlSchemas schemas;
  17. ServiceDescriptionCollection serviceDescriptions;
  18. ServiceDescriptionImportStyle style;
  19. #endregion // Fields
  20. #region Constructors
  21. public ServiceDescriptionImporter ()
  22. {
  23. protocolName = String.Empty;
  24. schemas = new XmlSchemas ();
  25. serviceDescriptions = new ServiceDescriptionCollection ();
  26. style = ServiceDescriptionImportStyle.Client;
  27. }
  28. #endregion // Constructors
  29. #region Properties
  30. public string ProtocolName {
  31. get { return protocolName; }
  32. set { protocolName = value; }
  33. }
  34. public XmlSchemas Schemas {
  35. get { return schemas; }
  36. }
  37. public ServiceDescriptionCollection ServiceDescriptions {
  38. get { return serviceDescriptions; }
  39. }
  40. public ServiceDescriptionImportStyle Style {
  41. get { return style; }
  42. set { style = value; }
  43. }
  44. #endregion // Properties
  45. #region Methods
  46. [MonoTODO]
  47. public void AddServiceDescription (ServiceDescription serviceDescription, string appSettingUrlKey, string appSettingBaseUrl)
  48. {
  49. throw new NotImplementedException ();
  50. }
  51. [MonoTODO]
  52. public ServiceDescriptionImportWarnings Import (CodeNamespace codeNamespace, CodeCompileUnit codeCompileUnit)
  53. {
  54. throw new NotImplementedException ();
  55. }
  56. #endregion
  57. }
  58. }