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)

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

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.

Implements

IDataValidationPlugin.Match(WeakReference(Object), String)

See Also

Reference

DataAnnotationsValidationPlugin Class
Avalonia.Data.Core.Plugins Namespace