ServerValidateEventArgs.cs 787 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. /**
  2. * Namespace: System.Web.UI.WebControls
  3. * Class: ServerValidateEventArgs
  4. *
  5. * Author: Gaurav Vaish
  6. * Maintainer: [email protected]
  7. * Contact: <[email protected]>, <[email protected]>
  8. * Implementation: yes
  9. * Status: 100%
  10. *
  11. * (C) Gaurav Vaish (2002)
  12. */
  13. using System;
  14. using System.Web;
  15. using System.Web.UI;
  16. namespace System.Web.UI.WebControls
  17. {
  18. public sealed class ServerValidateEventArgs : EventArgs
  19. {
  20. private bool isValid;
  21. private string value;
  22. public ServerValidateEventArgs(string value, bool isValid)
  23. {
  24. this.value = value;
  25. this.isValid = isValid;
  26. }
  27. public bool IsValid
  28. {
  29. get { return isValid; }
  30. set { isValid = value; }
  31. }
  32. public string Value
  33. {
  34. get { return value; }
  35. }
  36. }
  37. }