C# Class SweetVids.Core.Validation.RequiredAttribute

Inheritance: ValidationAttribute
Mostra file Open project: rauhryan/sweetvids

Public Properties

Property Type Description
GetMessage Func

Public Methods

Method Description
IsRequired ( PropertyInfo property ) : bool

Protected Methods

Method Description
validate ( object target, object rawValue, INotification notification ) : void

Method Details

IsRequired() public static method

public static IsRequired ( PropertyInfo property ) : bool
property System.Reflection.PropertyInfo
return bool

validate() protected method

protected validate ( object target, object rawValue, INotification notification ) : void
target object
rawValue object
notification INotification
return void

Property Details

GetMessage public_oe static_oe property

public static Func GetMessage
return Func