ExpressionObserver.

Create<T, U>(IObservable<T>, Expression<Func<T, U>>, bool, string) Method

Summary

Creates a new instance of the ExpressionObserver class.
Namespace
Avalonia.Data.Core
Containing Type
ExpressionObserver

Syntax

public static ExpressionObserver Create<T, U>(IObservable<T> rootObservable, Expression<Func<T, U>> expression, bool enableDataValidation = false, string description = null)

Type Parameters

Name Description
T
U

Parameters

Name Type Description
rootObservable IObservable<T> An observable which provides the root object.
expression Expression<Func<T, U>> 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