다음을 통해 공유


ThrowsNothingConstraint.Matches 메서드

정의

오버로드

Matches(Object)

제약 조건이 지정된 값에 의해 충족되는지 테스트

Matches<T>(ActualValueDelegate<T>)

Matches(Object)

제약 조건이 지정된 값에 의해 충족되는지 테스트

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

매개 변수

actual
Object

테스트할 값입니다.

반환

예외가 throw되지 않으면 True이고, 그렇지 않으면 false입니다.

적용 대상

Matches<T>(ActualValueDelegate<T>)

public override bool Matches<T>(NUnit.Framework.Constraints.ActualValueDelegate<T> del);
override this.Matches : NUnit.Framework.Constraints.ActualValueDelegate<'T> -> bool

형식 매개 변수

T

매개 변수

반환

적용 대상