C# Class DvachBrowser.ViewModels.ValidationViewModel

Inheritance: ViewModel, INotifyDataErrorInfo
显示文件 Open project: vortexwolf/2ch-Browser-WP7

Protected Properties

Property Type Description
_validator ModelValidator

Public Methods

Method Description
GetErrors ( string propertyName ) : IEnumerable
ValidateAll ( ) : bool
ValidationViewModel ( ) : System

Protected Methods

Method Description
OnErrorsChanged ( string propertyName ) : void

Method Details

GetErrors() public method

public GetErrors ( string propertyName ) : IEnumerable
propertyName string
return IEnumerable

OnErrorsChanged() protected method

protected OnErrorsChanged ( string propertyName ) : void
propertyName string
return void

ValidateAll() public method

public ValidateAll ( ) : bool
return bool

ValidationViewModel() public method

public ValidationViewModel ( ) : System
return System

Property Details

_validator protected_oe property

protected ModelValidator _validator
return ModelValidator