C# 클래스 MVVMSidekick.ViewModels.BindableBase

상속: DisposeGroupBase, INotifyPropertyChanged, IBindable
파일 보기 프로젝트 열기: waynebaby/MVVM-Sidekick 1 사용 예제들

공개 메소드들

메소드 설명
BindableBase ( ) : MVVMSidekick.EventRouting
GetFieldNames ( ) : string[]

Get all property names that were defined in subtype, or added objectly in runtime

取得本VM实例已经定义的所有字段名。其中包括静态声明的和动态添加的。

GetValueContainer ( string propertyName ) : IValueContainer
this ( string name ) : object

Gets or sets poperty values by property name index.

使用索引方式取得/设置字段值

Gets or sets the System.Object with the specified name.

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Releases unmanaged and - optionally - managed resources.

RaiseErrorsChanged ( string propertName ) : void

Raises the errors changed.

RaisePropertyChanged ( Func lazyEAFactory ) : void

Raises the property changed.

SetErrorMessage ( string value ) : void

Sets the validate error of this model

设置错误内容

SetErrorMessageAndTryNotify ( string value ) : void

Sets the validate error of this model and notify

设置错误内容并且尝试用事件通知

메소드 상세

BindableBase() 공개 메소드

public BindableBase ( ) : MVVMSidekick.EventRouting
리턴 MVVMSidekick.EventRouting

Dispose() 보호된 메소드

Releases unmanaged and - optionally - managed resources.
protected Dispose ( bool disposing ) : void
disposing bool true to release both managed and unmanaged resources; false to release only unmanaged resources.
리턴 void

GetFieldNames() 공개 추상적인 메소드

Get all property names that were defined in subtype, or added objectly in runtime

取得本VM实例已经定义的所有字段名。其中包括静态声明的和动态添加的。

public abstract GetFieldNames ( ) : string[]
리턴 string[]

GetValueContainer() 공개 추상적인 메소드

public abstract GetValueContainer ( string propertyName ) : IValueContainer
propertyName string
리턴 IValueContainer

RaiseErrorsChanged() 보호된 메소드

Raises the errors changed.
protected RaiseErrorsChanged ( string propertName ) : void
propertName string Name of the propert.
리턴 void

RaisePropertyChanged() 보호된 메소드

Raises the property changed.
protected RaisePropertyChanged ( Func lazyEAFactory ) : void
lazyEAFactory Func The lazy ea factory.
리턴 void

SetErrorMessage() 보호된 추상적인 메소드

Sets the validate error of this model

设置错误内容

protected abstract SetErrorMessage ( string value ) : void
value string The value.
리턴 void

SetErrorMessageAndTryNotify() 보호된 추상적인 메소드

Sets the validate error of this model and notify

设置错误内容并且尝试用事件通知

protected abstract SetErrorMessageAndTryNotify ( string value ) : void
value string The value.
리턴 void

this() 공개 추상적인 메소드

Gets or sets poperty values by property name index.

使用索引方式取得/设置字段值

Gets or sets the System.Object with the specified name.
public abstract this ( string name ) : object
name string Property name/字段名
리턴 object