MessageBinding.cs 988 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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. [XmlIgnore]
  34. public OperationBinding OperationBinding {
  35. get { return operationBinding; }
  36. }
  37. #endregion // Properties
  38. }
  39. }