C# 클래스 BF2Statistics.Validator

파일 보기 프로젝트 열기: BF2Statistics/ControlCenter

공개 메소드들

메소드 설명
IsAlphaOnly ( string line ) : bool

This method determines if the given string contains characters only. Will return false if any numbers are in the string

IsFloat ( string line ) : bool

Determines if the given string can be converted to a float

IsNumeric ( string line ) : bool

Determines if the givin string is numberic, and contains only numbers

IsValidClanTag ( string line ) : bool
IsValidEmail ( string email ) : bool

This method returns whether a provided email address is valid

IsValidPID ( string pid ) : bool
IsValidPrefix ( string line ) : bool

메소드 상세

IsAlphaOnly() 공개 정적인 메소드

This method determines if the given string contains characters only. Will return false if any numbers are in the string
public static IsAlphaOnly ( string line ) : bool
line string The string to be checked
리턴 bool

IsFloat() 공개 정적인 메소드

Determines if the given string can be converted to a float
public static IsFloat ( string line ) : bool
line string The string to be checked
리턴 bool

IsNumeric() 공개 정적인 메소드

Determines if the givin string is numberic, and contains only numbers
public static IsNumeric ( string line ) : bool
line string The string to be checked
리턴 bool

IsValidClanTag() 공개 정적인 메소드

public static IsValidClanTag ( string line ) : bool
line string
리턴 bool

IsValidEmail() 공개 정적인 메소드

This method returns whether a provided email address is valid
public static IsValidEmail ( string email ) : bool
email string
리턴 bool

IsValidPID() 공개 정적인 메소드

public static IsValidPID ( string pid ) : bool
pid string
리턴 bool

IsValidPrefix() 공개 정적인 메소드

public static IsValidPrefix ( string line ) : bool
line string
리턴 bool