C# 클래스 BellevueCollege.Toolkit

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

공개 메소드들

메소드 설명
GetApplicationVersion ( Assembly dll, string format = null ) : string

IsAlphaNumeric ( string strValue ) : bool

IsExpectedNumber ( string strValue, int intAllowedPrecision ) : bool

IsExpectedPIN ( string strValue ) : bool

IsNumber ( string str ) : bool

Identifies whether the specified String can be converted to a number

IsValidEmailAddress ( string strEmailAddress ) : bool

IsValidIntegerQuerystring ( System obj ) : bool

IsValidSQLDate ( string strDate ) : bool

Nullify ( string &str ) : string

Converts an empty/blank String to null

Because this method may potentially be used alot within an application, str is passed by reference to reduce the memory overhead of creating a copy of the parameter's value.

PrepareForDisplay ( string strInput ) : string

RedirectOnSessionTimeout ( ) : void

TitleCase ( string str ) : string

Capitalizes the first letter of each word in a String

This method utilizes code taken from this forum post.

비공개 메소드들

메소드 설명
CheckForAndReplace ( string &buffer, string token, int component ) : void

메소드 상세

GetApplicationVersion() 공개 정적인 메소드

public static GetApplicationVersion ( Assembly dll, string format = null ) : string
dll System.Reflection.Assembly
format string
리턴 string

IsAlphaNumeric() 공개 정적인 메소드

public static IsAlphaNumeric ( string strValue ) : bool
strValue string
리턴 bool

IsExpectedNumber() 공개 정적인 메소드

public static IsExpectedNumber ( string strValue, int intAllowedPrecision ) : bool
strValue string
intAllowedPrecision int
리턴 bool

IsExpectedPIN() 공개 정적인 메소드

public static IsExpectedPIN ( string strValue ) : bool
strValue string
리턴 bool

IsNumber() 공개 정적인 메소드

Identifies whether the specified String can be converted to a number
public static IsNumber ( string str ) : bool
str string
리턴 bool

IsValidEmailAddress() 공개 정적인 메소드

public static IsValidEmailAddress ( string strEmailAddress ) : bool
strEmailAddress string
리턴 bool

IsValidIntegerQuerystring() 공개 정적인 메소드

public static IsValidIntegerQuerystring ( System obj ) : bool
obj System
리턴 bool

IsValidSQLDate() 공개 정적인 메소드

public static IsValidSQLDate ( string strDate ) : bool
strDate string
리턴 bool

Nullify() 공개 정적인 메소드

Converts an empty/blank String to null
Because this method may potentially be used alot within an application, str is passed by reference to reduce the memory overhead of creating a copy of the parameter's value.
public static Nullify ( string &str ) : string
str string A string value that might be empty or contain only whitespace
리턴 string

PrepareForDisplay() 공개 정적인 메소드

public static PrepareForDisplay ( string strInput ) : string
strInput string
리턴 string

RedirectOnSessionTimeout() 공개 정적인 메소드

public static RedirectOnSessionTimeout ( ) : void
리턴 void

TitleCase() 공개 정적인 메소드

Capitalizes the first letter of each word in a String
This method utilizes code taken from this forum post.
public static TitleCase ( string str ) : string
str string
리턴 string