C# 클래스 uguimvvm.INPCBinding.PropertyPath

파일 보기 프로젝트 열기: jbruening/ugui-mvvm 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
WarnOnGetValue bool
WarnOnSetValue bool

공개 메소드들

메소드 설명
AddHandler ( object root, System.ComponentModel.PropertyChangedEventHandler handler ) : void
ClearHandlers ( ) : void
GetProperty ( Type type, string name ) : PropertyInfo
GetValue ( object root, object index ) : object

Resolve the value by traversing the property path

PropertyPath ( string path, Type type, bool warnOnFailure = false ) : System
SetValue ( object root, object value, object index ) : void

비공개 메소드들

메소드 설명
GetIdxProperty ( int idx, object root ) : PropertyInfo
OnPropertyChanged ( object sender, System.ComponentModel.PropertyChangedEventArgs args, Notifier notifier ) : void
TriggerHandler ( object sender ) : void
TrySubscribe ( object root, int idx ) : void

메소드 상세

AddHandler() 공개 메소드

public AddHandler ( object root, System.ComponentModel.PropertyChangedEventHandler handler ) : void
root object
handler System.ComponentModel.PropertyChangedEventHandler
리턴 void

ClearHandlers() 공개 메소드

public ClearHandlers ( ) : void
리턴 void

GetProperty() 공개 정적인 메소드

public static GetProperty ( Type type, string name ) : PropertyInfo
type System.Type
name string
리턴 System.Reflection.PropertyInfo

GetValue() 공개 메소드

Resolve the value by traversing the property path
public GetValue ( object root, object index ) : object
root object
index object
리턴 object

PropertyPath() 공개 메소드

public PropertyPath ( string path, Type type, bool warnOnFailure = false ) : System
path string
type System.Type
warnOnFailure bool
리턴 System

SetValue() 공개 메소드

public SetValue ( object root, object value, object index ) : void
root object
value object
index object
리턴 void

프로퍼티 상세

WarnOnGetValue 공개적으로 정적으로 프로퍼티

Emit warnings when GetValue fails due to nulls in the path
public static bool WarnOnGetValue
리턴 bool

WarnOnSetValue 공개적으로 정적으로 프로퍼티

Emit warnings when SetValue fails due to nulls in the path
public static bool WarnOnSetValue
리턴 bool