C# Class CarbonFitness.App.Web.Models.ValidateLengthIsInCentimeterAttribute

Inheritance: System.ComponentModel.DataAnnotations.ValidationAttribute
Afficher le fichier Open project: yodiz/CarbonFitness

Méthodes publiques

Méthode Description
FormatErrorMessage ( string name ) : string
IsValid ( object value ) : bool
ValidateLengthIsInCentimeterAttribute ( ) : System

Method Details

FormatErrorMessage() public méthode

public FormatErrorMessage ( string name ) : string
name string
Résultat string

IsValid() public méthode

public IsValid ( object value ) : bool
value object
Résultat bool

ValidateLengthIsInCentimeterAttribute() public méthode

public ValidateLengthIsInCentimeterAttribute ( ) : System
Résultat System