C# Класс uguimvvm.INPCBinding.PropertyPath

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
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