AttributeExistsConstraint.Matches(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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