C# Class Kooboo.Commerce.Web.Framework.ComponentModel.DataAnnotations.RequiredIfAttribute

Inheritance: System.ComponentModel.DataAnnotations.RequiredAttribute
Afficher le fichier Open project: Kooboo/Ecommerce

Méthodes publiques

Méthode Description
RequiredIfAttribute ( string dependentProperty, object dependentPropertyValue ) : System

Méthodes protégées

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

Method Details

IsValid() protected méthode

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

RequiredIfAttribute() public méthode

public RequiredIfAttribute ( string dependentProperty, object dependentPropertyValue ) : System
dependentProperty string
dependentPropertyValue object
Résultat System