Permalink
Browse files

ren ParametersValidationAttribute to CollectionValidationAttribute

  • Loading branch information...
adrianaisemberg committed Oct 25, 2011
1 parent bf91326 commit 1d4925233ba0ed2d24f65c75bbb126afe5590186
Showing with 3 additions and 3 deletions.
  1. +1 −1 CLAP/CollectionValidationAttribute.cs
  2. +1 −1 CLAP/Validation/ValidateAttribute.cs
  3. +1 −1 ConsoleTest/Program.cs
@@ -2,7 +2,7 @@
namespace CLAP
{
- public abstract class ParametersValidationAttribute : Attribute, IValidation
+ public abstract class CollectionValidationAttribute : Attribute, IValidation
{
public abstract IInfoValidator GetValidator();
public abstract string Description { get; }
@@ -11,7 +11,7 @@ namespace CLAP.Validation
/// http://msdn.microsoft.com/en-us/library/system.data.datacolumn.expression.aspx
/// </remarks>
[AttributeUsage(AttributeTargets.Method | AttributeTargets.Class | AttributeTargets.Property, AllowMultiple = true)]
- public sealed class ValidateAttribute : ParametersValidationAttribute
+ public sealed class ValidateAttribute : CollectionValidationAttribute
{
#region Properties
View
@@ -599,7 +599,7 @@ public void Validate(ParameterInfo parameter, object value)
// }
//}
- public class SameLengthAttribute : ParametersValidationAttribute
+ public class SameLengthAttribute : CollectionValidationAttribute
{
public override string Description
{

0 comments on commit 1d49252

Please sign in to comment.