C# Class Blog.Models.PropertiesMustMatchAttribute

Inheritance: System.ComponentModel.DataAnnotations.ValidationAttribute
Exibir arquivo Open project: d3dek/AwesomeBlog

Public Methods

Method Description
FormatErrorMessage ( string name ) : string
IsValid ( object value ) : bool
PropertiesMustMatchAttribute ( string originalProperty, string confirmProperty ) : 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

PropertiesMustMatchAttribute() public method

public PropertiesMustMatchAttribute ( string originalProperty, string confirmProperty ) : System
originalProperty string
confirmProperty string
return System