Summary
Creates a new instance of the
ExpressionObserver
class.
- Namespace
- Avalonia
.Data .Core - Containing Type
- ExpressionObserver
Syntax
public static ExpressionObserver Create<T, U>(T root, Expression<Func<T, U>> expression, bool enableDataValidation = false, string description = null)
Type Parameters
Name | Description |
---|---|
T | |
U |
Parameters
Name | Type | Description |
---|---|---|
root | T | The root object. |
expression | Expression |
The expression. |
enableDataValidation | bool | Whether or not to track data validation |
description | string | A description of the expression. If null, expression's string representation will be used. |
Return Value
Type | Description |
---|---|
ExpressionObserver |