C# 클래스 FormProcessor.RequestAttemptExtensions

파일 보기 프로젝트 열기: BellevueCollege/FormsProcessor

공개 메소드들

메소드 설명
Count ( this attempts, string ip ) : int
Expire ( this attempts ) : void

Default timespan is 30 minutes

Expire ( this attempts, System.DateTime timestamp ) : void
Record ( this attempts, string clientIP ) : void
Record ( this attempts, string clientIP, System.DateTime timestamp ) : void

메소드 상세

Count() 공개 정적인 메소드

public static Count ( this attempts, string ip ) : int
attempts this
ip string
리턴 int

Expire() 공개 정적인 메소드

Default timespan is 30 minutes
public static Expire ( this attempts ) : void
attempts this
리턴 void

Expire() 공개 정적인 메소드

public static Expire ( this attempts, System.DateTime timestamp ) : void
attempts this
timestamp System.DateTime
리턴 void

Record() 공개 정적인 메소드

public static Record ( this attempts, string clientIP ) : void
attempts this
clientIP string
리턴 void

Record() 공개 정적인 메소드

public static Record ( this attempts, string clientIP, System.DateTime timestamp ) : void
attempts this
clientIP string
timestamp System.DateTime
리턴 void