Assembly: VM.Models.Pre.dll This class implements attribute for Limit > 0.
Inheritance
object ← Attribute ← ValidationAttribute ← GreaterThanZeroAttributeInherited Members
ValidationAttribute.CheckValidationCore(Attribute[], MethodBase, object[]), ValidationAttribute.ValidationCondition(ValidationAttribute, string, object), ValidationAttribute.ExecuteException(string), ValidationAttribute.NamesExtension Methods
LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects<T>(object, LinkPropertyType)Constructors
GreaterThanZeroAttribute()
Initializes a new instance of the GreaterThanZeroAttribute class.GreaterThanZeroAttribute(params string[])
Initializes a new instance of the GreaterThanZeroAttribute class.Parameters
names string[]
The target names
Fields
__a$_instance
Field Value
GreaterThanZeroAttributeMethods
CheckValidation(MethodBase, object[], Attribute[])
Check validation.Parameters
method MethodBase
The method.
argument object[]
The argument.
triggers Attribute[]
The triggers
ExecuteException(string)
Execute exception.Parameters
name string
The argument name.
ValidationCondition(ValidationAttribute, string, object)
validation condition.Parameters
attribute ValidationAttribute
The attribute.
paramName string
The parameter name.
argument object
The argument.