C# Class MetroWizard.ViewModels.ViewModelBase

Inheritance: INotifyPropertyChanged, INotifyDataErrorInfo
Exibir arquivo Open project: stevenh77/MetroWizard

Public Methods

Method Description
GetErrors ( string propertyName ) : IEnumerable
NotifyPropertyChanged ( String info ) : void
RaiseErrorsChanged ( string propertyName ) : void
SetError ( string propertyName, string errorMessage ) : void

Protected Methods

Method Description
ClearAllErrors ( ) : void
ClearError ( string propertyName ) : void

Method Details

ClearAllErrors() protected method

protected ClearAllErrors ( ) : void
return void

ClearError() protected method

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

GetErrors() public method

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

NotifyPropertyChanged() public method

public NotifyPropertyChanged ( String info ) : void
info String
return void

RaiseErrorsChanged() public method

public RaiseErrorsChanged ( string propertyName ) : void
propertyName string
return void

SetError() public method

public SetError ( string propertyName, string errorMessage ) : void
propertyName string
errorMessage string
return void