Skip to main content

Match Method

Checks whether this plugin can handle data validation on the specified object.

Definition

Namespace: Avalonia.Data.Core.Plugins
Assembly: Avalonia.Base (in Avalonia.Base.dll)

bool Match(
WeakReference<Object?> reference,
string memberName
)
View Source

Parameters

  WeakReference(Object)
A weak reference to the object.
  String
The name of the member to validate.

Return Value

Boolean
True if the plugin can handle the object; otherwise false.

See Also

Reference

IDataValidationPlugin Interface
Avalonia.Data.Core.Plugins Namespace