C# Class SmsWeb.Models.FileTypesAttribute

From http://www.prideparrot.com/blog/archive/2012/8/uploading_and_returning_files
Inheritance: System.ComponentModel.DataAnnotations.ValidationAttribute
Afficher le fichier Open project: samjeffress/TrickleComms

Méthodes publiques

Méthode Description
FileTypesAttribute ( string types ) : System
FormatErrorMessage ( string name ) : string
IsValid ( object value ) : bool

Method Details

FileTypesAttribute() public méthode

public FileTypesAttribute ( string types ) : System
types string
Résultat System

FormatErrorMessage() public méthode

public FormatErrorMessage ( string name ) : string
name string
Résultat string

IsValid() public méthode

public IsValid ( object value ) : bool
value object
Résultat bool