C# 클래스 CubeIsland.LyricsReloaded.Provider.RateLimit

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

공개 메소드들

메소드 설명
RateLimit ( long periodLength, int requestsPerPeriod ) : System
parse ( string input ) : RateLimit
shutdown ( ) : void
tryIncrement ( ) : bool

비공개 메소드들

메소드 설명
reset ( ) : void

메소드 상세

RateLimit() 공개 메소드

public RateLimit ( long periodLength, int requestsPerPeriod ) : System
periodLength long
requestsPerPeriod int
리턴 System

parse() 공개 정적인 메소드

public static parse ( string input ) : RateLimit
input string
리턴 RateLimit

shutdown() 공개 메소드

public shutdown ( ) : void
리턴 void

tryIncrement() 공개 메소드

public tryIncrement ( ) : bool
리턴 bool