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)
- C#
- VB
- F#
public bool Match(
WeakReference<Object?> reference,
string memberName
)
Public Function Match (
reference As WeakReference(Of Object),
memberName As String
) As Boolean
abstract Match :
reference : WeakReference<Object> *
memberName : string -> bool
override Match :
reference : WeakReference<Object> *
memberName : string -> bool
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