C# Class API_11.Validator.ArrayValidationAttribute

Inheritance: System.ComponentModel.DataAnnotations.ValidationAttribute
Show file Open project: BarlowDu/WebAPI

Public Properties

Property Type Description
_list object[]

Public Methods

Method Description
ArrayValidationAttribute ( ) : System
FormatErrorMessage ( string name ) : string
IsValid ( object value ) : bool

Method Details

ArrayValidationAttribute() public method

public ArrayValidationAttribute ( ) : System
return System

FormatErrorMessage() public method

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

IsValid() public method

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

Property Details

_list public property

public object[] _list
return object[]