C# Class DataAnnotationsExtensions.UrlAttribute

Inheritance: System.ComponentModel.DataAnnotations.DataTypeAttribute
Afficher le fichier Open project: srkirkland/DataAnnotationsExtensions

Méthodes publiques

Méthode Description
FormatErrorMessage ( string name ) : string
IsValid ( object value ) : bool
UrlAttribute ( UrlOptions urlOptions = UrlOptions.RequireProtocol ) : System

Private Methods

Méthode Description
UrlAttribute ( bool requireProtocol ) : System

Method Details

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

UrlAttribute() public méthode

public UrlAttribute ( UrlOptions urlOptions = UrlOptions.RequireProtocol ) : System
urlOptions UrlOptions
Résultat System