MaxAttribute.IsValid Method

Namespace:
Weavy.Core.Models
Assembly:
Weavy.Core.dll

IsValid(Object)

Checks that the value of the data field is less than or equal to the specified maximum value.

public override bool IsValid(object value)

Parameters

value
System.Object

Returns

System.Boolean

true if the specified value is valid; otherwise, false.