C# Class ChildAction.Models.ValidatePasswordLengthAttribute

Inheritance: System.ComponentModel.DataAnnotations.ValidationAttribute
Exibir arquivo Open project: jeffreypalermo/mvc2inaction

Public Methods

Method Description
FormatErrorMessage ( string name ) : string
IsValid ( object value ) : bool
ValidatePasswordLengthAttribute ( ) : System

Method Details

FormatErrorMessage() public method

public FormatErrorMessage ( string name ) : string
name string
return string

IsValid() public method

public IsValid ( object value ) : bool
value object
return bool

ValidatePasswordLengthAttribute() public method

public ValidatePasswordLengthAttribute ( ) : System
return System