MessageBinding.cs 973 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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.Xml.Serialization;
  10. namespace System.Web.Services.Description {
  11. public abstract class MessageBinding : DocumentableItem {
  12. #region Fields
  13. string name;
  14. OperationBinding operationBinding;
  15. #endregion // Fields
  16. #region Constructors
  17. protected MessageBinding ()
  18. {
  19. name = String.Empty;
  20. operationBinding = new OperationBinding ();
  21. }
  22. #endregion // Constructors
  23. #region Properties
  24. [XmlIgnore]
  25. public abstract ServiceDescriptionFormatExtensionCollection Extensions {
  26. get;
  27. }
  28. [XmlAttribute ("name", DataType = "NMTOKEN")]
  29. public string Name {
  30. get { return name; }
  31. set { name = value; }
  32. }
  33. public OperationBinding OperationBinding {
  34. get { return operationBinding; }
  35. }
  36. #endregion // Properties
  37. }
  38. }