2
0

RepeaterCommandEventArgs.cs 807 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. /**
  2. * Namespace: System.Web.UI.WebControls
  3. * Class: RepeaterCommandEventArgs
  4. *
  5. * Author: Gaurav Vaish
  6. * Maintainer: [email protected]
  7. * Implementation: yes
  8. * Status: 100%
  9. *
  10. * (C) Gaurav Vaish (2001)
  11. */
  12. using System;
  13. using System.Web;
  14. using System.Web.UI;
  15. namespace System.Web.UI.WebControls
  16. {
  17. public sealed class RepeaterCommandEventArgs: CommandEventArgs
  18. {
  19. private RepeaterItem rItem;
  20. private object cmdSrc;
  21. public RepeaterCommandEventArgs(RepeaterItem item, object commandSource, CommandEventArgs originalArgs): base(originalArgs)
  22. {
  23. rItem = item;
  24. cmdSrc = commandSource;
  25. }
  26. public object CommandSource
  27. {
  28. get
  29. {
  30. return cmdSrc;
  31. }
  32. }
  33. public RepeaterItem Item
  34. {
  35. get
  36. {
  37. return rItem;
  38. }
  39. }
  40. }
  41. }