C# Class BExIS.Web.Shell.Areas.SAM.Helpers.MustBeTrueAttribute

Inheritance: System.ComponentModel.DataAnnotations.ValidationAttribute, IClientValidatable
Mostra file Open project: BEXIS2/Core

Public Methods

Method Description
GetClientValidationRules ( ModelMetadata metadata, ControllerContext context ) : IEnumerable

Protected Methods

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

Method Details

GetClientValidationRules() public method

public GetClientValidationRules ( ModelMetadata metadata, ControllerContext context ) : IEnumerable
metadata ModelMetadata
context ControllerContext
return IEnumerable

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