C# Class Zetbox.Client.ASPNET.EnforceTrueAttribute

Inheritance: System.ComponentModel.DataAnnotations.ValidationAttribute, IClientValidatable
Mostrar archivo Open project: daszat/zetbox

Public Methods

Method Description
FormatErrorMessage ( string name ) : string
GetClientValidationRules ( ModelMetadata metadata, ControllerContext context ) : IEnumerable
IsValid ( object value ) : bool

Method Details

FormatErrorMessage() public method

public FormatErrorMessage ( string name ) : string
name string
return string

GetClientValidationRules() public method

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

IsValid() public method

public IsValid ( object value ) : bool
value object
return bool