BindingNotification.

ExtractError(object) Method

Summary

Gets an exception from an object that may be a BindingNotification.
Namespace
Avalonia.Data
Containing Type
BindingNotification

Syntax

public static object ExtractError(object o)

Remarks

If o is a BindingNotification then returns the binding notification's Error. If not, returns the object unchanged.

Parameters

Name Type Description
o object The object.

Return Value

Type Description
object The value.