ServiceDescriptionBaseCollection.cs 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. //
  2. // System.Web.Services.Description.ServiceDescriptionBaseCollection.cs
  3. //
  4. // Author:
  5. // Tim Coleman ([email protected])
  6. //
  7. // Copyright (C) Tim Coleman, 2002
  8. //
  9. using System.Collections;
  10. using System.Web.Services;
  11. namespace System.Web.Services.Description {
  12. public abstract class ServiceDescriptionBaseCollection : CollectionBase {
  13. #region Fields
  14. Hashtable table = new Hashtable ();
  15. #endregion // Fields
  16. #region Properties
  17. protected virtual IDictionary Table {
  18. get { return table; }
  19. }
  20. #endregion // Properties
  21. #region Methods
  22. protected virtual string GetKey (object value)
  23. {
  24. return null; // per .NET documentation
  25. }
  26. [MonoTODO]
  27. protected override void OnClear ()
  28. {
  29. throw new NotImplementedException ();
  30. }
  31. [MonoTODO]
  32. protected override void OnInsertComplete (int index, object value)
  33. {
  34. throw new NotImplementedException ();
  35. }
  36. [MonoTODO]
  37. protected override void OnRemove (int index, object value)
  38. {
  39. throw new NotImplementedException ();
  40. }
  41. [MonoTODO]
  42. protected override void OnSet (int index, object oldValue, object newValue)
  43. {
  44. throw new NotImplementedException ();
  45. }
  46. [MonoTODO]
  47. protected virtual void SetParent (object value, object parent)
  48. {
  49. throw new NotImplementedException ();
  50. }
  51. #endregion // Methods
  52. }
  53. }