C# Class HermaFx.DataAnnotations.ValidateElementsUsingAttribute

Inheritance: System.ComponentModel.DataAnnotations.ValidationAttribute
Afficher le fichier Open project: evicertia/HermaFx

Méthodes publiques

Méthode Description
ValidateElementsUsingAttribute ( Type metadataType, string propertyName ) : System
ValidateElementsUsingAttribute ( Type metadataType, string propertyName, string errorMessage ) : System

Méthodes protégées

Méthode Description
IsValid ( object value, System.ComponentModel.DataAnnotations.ValidationContext context ) : System.ComponentModel.DataAnnotations.ValidationResult

Private Methods

Méthode Description
ValidateClass ( object value, System.ComponentModel.DataAnnotations.ValidationContext context, IEnumerable attributes ) : IEnumerable
ValidateProperties ( object value, System.ComponentModel.DataAnnotations.ValidationContext context ) : IEnumerable

Method Details

IsValid() protected méthode

protected IsValid ( object value, System.ComponentModel.DataAnnotations.ValidationContext context ) : System.ComponentModel.DataAnnotations.ValidationResult
value object
context System.ComponentModel.DataAnnotations.ValidationContext
Résultat System.ComponentModel.DataAnnotations.ValidationResult

ValidateElementsUsingAttribute() public méthode

public ValidateElementsUsingAttribute ( Type metadataType, string propertyName ) : System
metadataType System.Type
propertyName string
Résultat System

ValidateElementsUsingAttribute() public méthode

public ValidateElementsUsingAttribute ( Type metadataType, string propertyName, string errorMessage ) : System
metadataType System.Type
propertyName string
errorMessage string
Résultat System