C# Class SweetVids.Core.Validation.RequiredAttribute

Inheritance: ValidationAttribute
Afficher le fichier Open project: rauhryan/sweetvids

Méthodes publiques

Свойство Type Description
GetMessage Func

Méthodes publiques

Méthode Description
IsRequired ( PropertyInfo property ) : bool

Méthodes protégées

Méthode Description
validate ( object target, object rawValue, INotification notification ) : void

Method Details

IsRequired() public static méthode

public static IsRequired ( PropertyInfo property ) : bool
property System.Reflection.PropertyInfo
Résultat bool

validate() protected méthode

protected validate ( object target, object rawValue, INotification notification ) : void
target object
rawValue object
notification INotification
Résultat void

Property Details

GetMessage public_oe static_oe property

public static Func GetMessage
Résultat Func