ServiceDescriptionBaseCollection.cs 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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. }
  30. [MonoTODO]
  31. protected override void OnInsertComplete (int index, object value)
  32. {
  33. }
  34. [MonoTODO]
  35. protected override void OnRemove (int index, object value)
  36. {
  37. }
  38. [MonoTODO]
  39. protected override void OnSet (int index, object oldValue, object newValue)
  40. {
  41. }
  42. [MonoTODO]
  43. protected virtual void SetParent (object value, object parent)
  44. {
  45. }
  46. #endregion // Methods
  47. }
  48. }