Edytuj

Udostępnij za pośrednictwem


OrConstraint.Matches(Object) Method

Definition

Apply the member constraints to an actual value, succeeding succeeding as soon as one of them succeeds.

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

Parameters

actual
Object

The actual value

Returns

True if either constraint succeeded

Applies to