ServerValidateEventArgs.cs 784 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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
  30. {
  31. return isValid;
  32. }
  33. }
  34. public string Value
  35. {
  36. get
  37. {
  38. return value;
  39. }
  40. }
  41. }
  42. }