Edit

Share via


AttributeExistsConstraint.Matches(Object) Method

Definition

Tests whether the object provides the expected attribute.

public override bool Matches (object actual);
override this.Matches : obj -> bool

Parameters

actual
Object

A Type, MethodInfo, or other ICustomAttributeProvider

Returns

True if the expected attribute is present, otherwise false

Applies to