WebHeaderCollection.cs 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. //
  2. // System.Net.WebHeaderCollection
  3. //
  4. // Author:
  5. // Lawrence Pit ([email protected])
  6. //
  7. using System;
  8. using System.Collections.Specialized;
  9. using System.Runtime.InteropServices;
  10. using System.Runtime.Serialization;
  11. namespace System.Net
  12. {
  13. [Serializable]
  14. [ComVisible(true)]
  15. public class WebHeaderCollection : NameValueCollection, ISerializable
  16. {
  17. // Constructors
  18. public WebHeaderCollection ()
  19. : base ()
  20. {
  21. }
  22. [MonoTODO]
  23. protected WebHeaderCollection (SerializationInfo serializationInfo,
  24. StreamingContext streamingContext)
  25. {
  26. throw new NotImplementedException ();
  27. }
  28. // Properties
  29. public virtual long ContentLength {
  30. get { throw new NotSupportedException (); }
  31. set { throw new NotSupportedException (); }
  32. }
  33. // Methods
  34. [MonoTODO]
  35. public void Add (string header)
  36. {
  37. throw new NotImplementedException ();
  38. }
  39. [MonoTODO]
  40. public override void Add (string name, string value)
  41. {
  42. throw new NotImplementedException ();
  43. }
  44. [MonoTODO]
  45. protected void AddWithoutValidate (string headerName, string headerValue)
  46. {
  47. throw new NotImplementedException ();
  48. }
  49. [MonoTODO]
  50. public override string [] GetValues (string header)
  51. {
  52. throw new NotImplementedException ();
  53. }
  54. [MonoTODO]
  55. public static bool IsRestricted (string headerName)
  56. {
  57. throw new NotImplementedException ();
  58. }
  59. [MonoTODO]
  60. public override void OnDeserialization (object sender)
  61. {
  62. throw new NotImplementedException ();
  63. }
  64. [MonoTODO]
  65. public override void Remove (string name)
  66. {
  67. throw new NotImplementedException ();
  68. }
  69. [MonoTODO]
  70. public override void Set (string name, string value)
  71. {
  72. throw new NotImplementedException ();
  73. }
  74. [MonoTODO]
  75. public byte[] ToByteArray ()
  76. {
  77. throw new NotImplementedException ();
  78. }
  79. [MonoTODO]
  80. public override string ToString ()
  81. {
  82. throw new NotImplementedException ();
  83. }
  84. [MonoTODO]
  85. void ISerializable.GetObjectData (SerializationInfo serializationInfo,
  86. StreamingContext streamingContext)
  87. {
  88. throw new NotImplementedException ();
  89. }
  90. }
  91. }