C# Class WebApiDoodle.Net.Http.Client.Sample45.Validation.MinimumAttribute

Inheritance: System.ComponentModel.DataAnnotations.ValidationAttribute
Show file Open project: tugberkugurlu/WebAPIDoodle

Public Methods

Method Description
FormatErrorMessage ( string name ) : string
IsValid ( object value ) : bool
MinimumAttribute ( int minimum ) : System

Method Details

FormatErrorMessage() public method

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

IsValid() public method

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

MinimumAttribute() public method

public MinimumAttribute ( int minimum ) : System
minimum int
return System