Assert.True 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
오버로드
True(Boolean, String) |
조건이 true임을 어설션합니다. 조건이 false이면 메서드는 을 AssertionExceptionthrow합니다. |
True(Boolean) |
조건이 true임을 어설션합니다. 조건이 false이면 메서드는 을 AssertionExceptionthrow합니다. |
True(Boolean, String, Object[]) |
조건이 true임을 어설션합니다. 조건이 false이면 메서드는 을 AssertionExceptionthrow합니다. |
True(Boolean, String)
조건이 true임을 어설션합니다. 조건이 false이면 메서드는 을 AssertionExceptionthrow합니다.
public static void True(bool condition, string message);
static member True : bool * string -> unit
매개 변수
- condition
- Boolean
평가된 조건
- message
- String
조건이 false이면 표시할 메시지입니다.
적용 대상
True(Boolean)
조건이 true임을 어설션합니다. 조건이 false이면 메서드는 을 AssertionExceptionthrow합니다.
public static void True(bool condition);
static member True : bool -> unit
매개 변수
- condition
- Boolean
평가된 조건
적용 대상
True(Boolean, String, Object[])
조건이 true임을 어설션합니다. 조건이 false이면 메서드는 을 AssertionExceptionthrow합니다.
public static void True(bool condition, string message, params object[] args);
static member True : bool * string * obj[] -> unit
매개 변수
- condition
- Boolean
평가된 조건
- message
- String
조건이 false이면 표시할 메시지입니다.
- args
- Object[]
메시지 서식 지정에 사용할 인수