C# Class LanguageHelpers.Localization.DataAnnotations.Required_Attribute

Inheritance: System.ComponentModel.DataAnnotations.RequiredAttribute
Show file Open project: edgecomputing/cats

Public Methods

Method Description
FormatErrorMessage ( string name ) : string
Required_Attribute ( ) : System

Protected Methods

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

Method Details

FormatErrorMessage() public method

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

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

Required_Attribute() public method

public Required_Attribute ( ) : System
return System