C# Class MvcTemplate.Components.Mvc.MinValueAttribute

Inheritance: System.ComponentModel.DataAnnotations.ValidationAttribute
Mostrar archivo Open project: NonFactors/MVC5.Template Class Usage Examples

Public Methods

Method Description
FormatErrorMessage ( String name ) : String
IsValid ( Object value ) : System.Boolean
MinValueAttribute ( Double minimum ) : MvcTemplate.Resources.Form
MinValueAttribute ( Int32 minimum ) : MvcTemplate.Resources.Form

Private Methods

Method Description
MinValueAttribute ( ) : MvcTemplate.Resources.Form

Method Details

FormatErrorMessage() public method

public FormatErrorMessage ( String name ) : String
name String
return String

IsValid() public method

public IsValid ( Object value ) : System.Boolean
value Object
return System.Boolean

MinValueAttribute() public method

public MinValueAttribute ( Double minimum ) : MvcTemplate.Resources.Form
minimum Double
return MvcTemplate.Resources.Form

MinValueAttribute() public method

public MinValueAttribute ( Int32 minimum ) : MvcTemplate.Resources.Form
minimum System.Int32
return MvcTemplate.Resources.Form