C# Client Library
A C# Client Library for the AnalyzeRe REST API
AnalyzeRe.Attributes.ValidationAttribute Class Referenceabstract

Any attribute that can validate the value of a property. More...

Public Member Functions

abstract bool IsValid (object value)
 Determines whether the given value meets this attribute's validation criteria. More...
 

Detailed Description

Any attribute that can validate the value of a property.

Definition at line 7 of file ValidationAttribute.cs.

Inheritance diagram for AnalyzeRe.Attributes.ValidationAttribute:
AnalyzeRe.Attributes.NotEmptyAttribute AnalyzeRe.Attributes.NotNullAttribute AnalyzeRe.Attributes.NumericValidationAttribute AnalyzeRe.Attributes.GreaterThanAttribute AnalyzeRe.Attributes.LessThanAttribute

Member Function Documentation

abstract bool AnalyzeRe.Attributes.ValidationAttribute.IsValid ( object  value)
pure virtual

Determines whether the given value meets this attribute's validation criteria.

Parameters
valueThe value to test.
Returns
True if the value is valid for this attribute.

Implemented in AnalyzeRe.Attributes.GreaterThanAttribute, AnalyzeRe.Attributes.LessThanAttribute, AnalyzeRe.Attributes.NotEmptyAttribute, and AnalyzeRe.Attributes.NotNullAttribute.


The documentation for this class was generated from the following file: