C# 클래스 Tests.Generator

파일 보기 프로젝트 열기: gildorwang/RetryHelper 1 사용 예제들

공개 메소드들

메소드 설명
Generator ( int trueAfterTimes, bool throwsException = false ) : System

Initializes a new instance of the Generator class.

Next ( ) : bool

메소드 상세

Generator() 공개 메소드

Initializes a new instance of the Generator class.
public Generator ( int trueAfterTimes, bool throwsException = false ) : System
trueAfterTimes int The result will become true after the specified times.
throwsException bool If set to true, an exception will be thrown for each failure.
리턴 System

Next() 공개 메소드

public Next ( ) : bool
리턴 bool