VerificationAttribute.cs 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. //
  2. // System.Web.UI.VerificationAttribute.cs
  3. //
  4. // Authors:
  5. // Arina Itkes ([email protected])
  6. //
  7. // (C) 2007 Mainsoft Co. (http://www.mainsoft.com)
  8. //
  9. //
  10. //
  11. // Permission is hereby granted, free of charge, to any person obtaining
  12. // a copy of this software and associated documentation files (the
  13. // "Software"), to deal in the Software without restriction, including
  14. // without limitation the rights to use, copy, modify, merge, publish,
  15. // distribute, sublicense, and/or sell copies of the Software, and to
  16. // permit persons to whom the Software is furnished to do so, subject to
  17. // the following conditions:
  18. //
  19. // The above copyright notice and this permission notice shall be
  20. // included in all copies or substantial portions of the Software.
  21. //
  22. // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  23. // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  24. // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
  25. // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
  26. // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
  27. // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
  28. // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  29. //
  30. #if NET_2_0
  31. namespace System.Web.UI
  32. {
  33. [AttributeUsageAttribute (AttributeTargets.Class | AttributeTargets.Property, AllowMultiple = true)]
  34. public sealed class VerificationAttribute : Attribute
  35. {
  36. public VerificationAttribute (string guideline,
  37. string checkpoint,
  38. VerificationReportLevel reportLevel,
  39. int priority,
  40. string message) {
  41. }
  42. public VerificationAttribute (string guideline,
  43. string checkpoint,
  44. VerificationReportLevel reportLevel,
  45. int priority,
  46. string message,
  47. VerificationRule rule,
  48. string conditionalProperty) {
  49. }
  50. public VerificationAttribute (string guideline,
  51. string checkpoint,
  52. VerificationReportLevel reportLevel,
  53. int priority,
  54. string message,
  55. VerificationRule rule,
  56. string conditionalProperty,
  57. VerificationConditionalOperator conditionalOperator,
  58. string conditionalValue,
  59. string guidelineUrl) {
  60. }
  61. public string Checkpoint {
  62. get {
  63. throw new NotImplementedException ();
  64. }
  65. }
  66. public string ConditionalProperty {
  67. get {
  68. throw new NotImplementedException ();
  69. }
  70. }
  71. public string ConditionalValue {
  72. get {
  73. throw new NotImplementedException ();
  74. }
  75. }
  76. public string Guideline {
  77. get {
  78. throw new NotImplementedException ();
  79. }
  80. }
  81. public string GuidelineUrl {
  82. get {
  83. throw new NotImplementedException ();
  84. }
  85. }
  86. public string Message {
  87. get {
  88. throw new NotImplementedException ();
  89. }
  90. }
  91. public int Priority {
  92. get {
  93. throw new NotImplementedException ();
  94. }
  95. }
  96. public VerificationConditionalOperator VerificationConditionalOperator {
  97. get {
  98. throw new NotImplementedException ();
  99. }
  100. }
  101. public VerificationReportLevel VerificationReportLevel {
  102. get {
  103. throw new NotImplementedException ();
  104. }
  105. }
  106. public VerificationRule VerificationRule {
  107. get {
  108. throw new NotImplementedException ();
  109. }
  110. }
  111. }
  112. }
  113. #endif