AdCreatedEventArgs.cs 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. /**
  2. * Namespace: System.Web.UI.WebControls
  3. * Class: AdCreatedEventArgs
  4. *
  5. * Author: Gaurav Vaish
  6. * Contact: <[email protected]>
  7. * Status: 10??%
  8. *
  9. * (C) Gaurav Vaish (2001)
  10. */
  11. using System;
  12. using System.Collections;
  13. using System.Web;
  14. using System.Web.UI;
  15. namespace System.Web.UI.WebControls
  16. {
  17. public sealed class AdCreatedEventArgs: EventArgs
  18. {
  19. private IDictionary adProperties;
  20. private string alternateText = string.Empty;
  21. private string imageUrl = string.Empty;
  22. private string navigateUrl = string.Empty;
  23. public AdCreatedEventArgs(IDictionary adProperties)
  24. {
  25. this.adProperties = adProperties;
  26. }
  27. public IDictionary AdProperties
  28. {
  29. get
  30. {
  31. return this.adProperties;
  32. }
  33. }
  34. public string AlternateText
  35. {
  36. get
  37. {
  38. return alternateText;
  39. }
  40. set
  41. {
  42. alternateText = value;
  43. }
  44. }
  45. public string ImageUrl
  46. {
  47. get
  48. {
  49. return imageUrl;
  50. }
  51. set
  52. {
  53. imageUrl = value;
  54. }
  55. }
  56. public string NavigateUrl
  57. {
  58. get
  59. {
  60. return navigateUrl;
  61. }
  62. set
  63. {
  64. navigateUrl = value;
  65. }
  66. }
  67. }
  68. }