編輯

共用方式為


PropertyConstraint.Matches(Object) Method

Definition

Test whether the constraint is satisfied by a given value

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

Parameters

actual
Object

The value to be tested

Returns

True for success, false for failure

Applies to