Class ExpressionWatcherBase
Serves as the base class for all watchers in the binding mechanism. It initializes and manages the binding and watching process.
Inheritance
ExpressionWatcherBase
Inherited Members
Namespace: PoeShared.Bindings
Assembly: PoeShared.dll
Syntax
public abstract class ExpressionWatcherBase : DisposableReactiveObject, IValueWatcher, IValueProvider, IDisposable, INotifyPropertyChanged
Constructors
Name | Description |
---|---|
ExpressionWatcherBase() |
Fields
Name | Description |
---|---|
Binder |
Properties
Name | Description |
---|---|
CanSetValue | Indicates whether the current value can be set. |
ConditionExpression | |
Error | Gets the error that occurred during the watching process. |
HasValue | Indicates whether a value is currently available. |
PropertyType | Gets or sets the type of the property being watched. |
Source | Gets or sets the source object for the watcher. |
SourceExpression | |
SourceType | Gets the type of the source from which the value is being watched. |
SupportsSetValue | Indicates whether setting a value is supported. |
Value | Gets the current value being watched. |
Watcher | Gets the underlying value watcher. |
Methods
Name | Description |
---|---|
SetCurrentValue(object) | Attempts to set current value, should throw only in extreme cases (e.g. misconfiguration), otherwise sets Error |
Extension Methods
NotifyPropertyChangedExtensions.GetPropertyName<TObject, T1>(TObject, Expression<Func<TObject, T1>>)