MessageBinding.cs 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. //
  2. // System.Web.Services.Description.MessageBinding.cs
  3. //
  4. // Author:
  5. // Tim Coleman ([email protected])
  6. //
  7. // Copyright (C) Tim Coleman, 2002
  8. //
  9. using System.ComponentModel;
  10. using System.Xml.Serialization;
  11. namespace System.Web.Services.Description {
  12. public abstract class MessageBinding : DocumentableItem {
  13. #region Fields
  14. string name;
  15. OperationBinding operationBinding;
  16. #endregion // Fields
  17. #region Constructors
  18. protected MessageBinding ()
  19. {
  20. name = String.Empty;
  21. operationBinding = new OperationBinding ();
  22. }
  23. #endregion // Constructors
  24. #region Properties
  25. [XmlIgnore]
  26. public abstract ServiceDescriptionFormatExtensionCollection Extensions {
  27. get;
  28. }
  29. [DefaultValue ("")]
  30. [XmlAttribute ("name", DataType = "NMTOKEN")]
  31. public string Name {
  32. get { return name; }
  33. set { name = value; }
  34. }
  35. [XmlIgnore]
  36. public OperationBinding OperationBinding {
  37. get { return operationBinding; }
  38. }
  39. #endregion // Properties
  40. }
  41. }