MimeXmlBinding.cs 884 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. //
  2. // System.Web.Services.Description.MimeXmlBinding.cs
  3. //
  4. // Author:
  5. // Tim Coleman ([email protected])
  6. //
  7. // Copyright (C) Tim Coleman, 2002
  8. //
  9. using System.Web.Services.Configuration;
  10. using System.Xml.Serialization;
  11. namespace System.Web.Services.Description {
  12. [XmlFormatExtension ("mimeXml", "http://schemas.xmlsoap.org/wsdl/mime/", typeof (MimePart), typeof (InputBinding), typeof (OutputBinding))]
  13. public sealed class MimeXmlBinding : ServiceDescriptionFormatExtension {
  14. #region Fields
  15. string part;
  16. #endregion // Fields
  17. #region Constructors
  18. public MimeXmlBinding ()
  19. {
  20. part = String.Empty;
  21. }
  22. #endregion // Constructors
  23. #region Properties
  24. [XmlAttribute ("part", DataType = "NMTOKEN")]
  25. public string Part {
  26. get { return part; }
  27. set { part = value; }
  28. }
  29. #endregion // Properties
  30. }
  31. }