2
0

MimeMultipartRelatedBinding.cs 904 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. //
  2. // System.Web.Services.Description.MimeMultipartRelatedBinding.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 ("multipartRelated", "http://schemas.xmlsoap.org/wsdl/mime/", typeof (InputBinding), typeof (OutputBinding))]
  13. public sealed class MimeMultipartRelatedBinding : ServiceDescriptionFormatExtension {
  14. #region Fields
  15. MimePartCollection parts;
  16. #endregion // Fields
  17. #region Constructors
  18. public MimeMultipartRelatedBinding ()
  19. {
  20. parts = new MimePartCollection ();
  21. }
  22. #endregion // Constructors
  23. #region Properties
  24. [XmlElement ("parts")]
  25. public MimePartCollection Parts {
  26. get { return parts; }
  27. }
  28. #endregion // Properties
  29. }
  30. }