C# Class PropertiesMustMatchAttribute, MvcImage

Inheritance: ValidationAttribute
Show file Open project: garfbradaz/MvcImage

Public Methods

Method Description
FormatErrorMessage ( string name ) : string
IsValid ( object value ) : bool
PropertiesMustMatchAttribute ( string originalProperty, string confirmProperty )

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

PropertiesMustMatchAttribute() public method

public PropertiesMustMatchAttribute ( string originalProperty, string confirmProperty )
originalProperty string
confirmProperty string