C# Class ABsoluteMaybe.SampleWebsite.MVC2.Models.PropertiesMustMatchAttribute

Inheritance: System.ComponentModel.DataAnnotations.ValidationAttribute
Afficher le fichier Open project: troygoode/ABsoluteMaybe

Méthodes publiques

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

PropertiesMustMatchAttribute() public méthode

public PropertiesMustMatchAttribute ( string originalProperty, string confirmProperty ) : System
originalProperty string
confirmProperty string
Résultat System