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

Inheritance: System.ComponentModel.DataAnnotations.RequiredAttribute
Mostra file Open project: Kooboo/Ecommerce

Public Methods

Method Description
RequiredIfAttribute ( string dependentProperty, object dependentPropertyValue ) : System

Protected Methods

Method Description
IsValid ( object value, System.ComponentModel.DataAnnotations.ValidationContext validationContext ) : System.ComponentModel.DataAnnotations.ValidationResult

Method Details

IsValid() protected method

protected IsValid ( object value, System.ComponentModel.DataAnnotations.ValidationContext validationContext ) : System.ComponentModel.DataAnnotations.ValidationResult
value object
validationContext System.ComponentModel.DataAnnotations.ValidationContext
return System.ComponentModel.DataAnnotations.ValidationResult

RequiredIfAttribute() public method

public RequiredIfAttribute ( string dependentProperty, object dependentPropertyValue ) : System
dependentProperty string
dependentPropertyValue object
return System