C# Class GenStrings.IntlStrings

Show file Open project: gbarnett/shared-source-cli-2.0 Class Usage Examples

Public Methods

Method Description
CurrenyDecimalDigits ( ) : int
CurrenyDecimalSeparator ( ) : String
CurrenyGroupSeparator ( ) : string
CurrenyGroupSizes ( ) : int[]
CurrenySymbol ( ) : string
GetFormattedDateTimeStrings ( ) : String
GetInterestingDateTime ( ) : System.DateTime
GetInterestingDateTimeFormat ( ) : String
GetInvalidFileName ( int iMaxChar, bool bAbsolute ) : String
GetProbCharStrLCID ( Int16 iMaxChar, bool bAbsolute, bool bValidate ) : String
GetProbCharStrLCID ( Int16 iMaxChar, bool bAbsolute, bool bValidate, enuLCIDList enulcidType ) : String
GetProbCharString ( Int16 iMaxChar, bool bAbsolute, bool bValidate ) : String
GetProbURTCStrLCID ( Int16 iMaxChar, bool bAbsolute, bool bValidate ) : String
GetProbURTCStrLCID ( Int16 iMaxChar, bool bAbsolute, bool bValidate, enuLCIDList enulcidType ) : String
GetProbURTCString ( Int16 iMaxChar, bool bAbsolute, bool bValidate ) : String
GetProblematicStrings ( ) : String[]
GetRandStrLCID ( Int16 iMaxChar, bool bAbsolute, bool bValidate ) : String
GetRandStrLCID ( Int16 iMaxChar, bool bAbsolute, bool bValidate, enuLCIDList enulcidType ) : String
GetRandStrLCID ( Int16 iMaxChar, bool bAbsolute, bool bValidate, enuLCIDList enulcidType, bool bNoLeadNum ) : String
GetRandString ( Int16 iMaxChar, bool bAbsolute, bool bValidate, bool bNoLeadNum ) : String
GetRandomDirectoryName ( String strPath, int iNumberOfSubDirs ) : String
GetRandomDirectoryName ( int iNumberOfSubDirs ) : String
GetRandomValidIdentifier ( Int16 iMaxChar, bool bAbsolute ) : String
GetStrLcid ( Int16 iMaxChar, bool bAbsolute, bool bValidate ) : String
GetStrLcid ( Int16 iMaxChar, bool bAbsolute, bool bValidate, enuLCIDList enulcidType ) : String
GetStrLcid ( Int16 iMaxChar, bool bAbsolute, bool bValidate, enuLCIDList enulcidType, bool bNoLeadNum ) : String
GetString ( int iMaxChar, bool bAbsolute, bool bValidate ) : String
GetString ( int iMaxChar, bool bAbsolute, bool bValidate, bool bNoLeadNum ) : String
GetTop20String ( Int16 iMaxChar, bool bAbsolute, bool bValidate ) : String
GetUniStrInvalidAnsi ( int iMaxChar, bool bAbsolute, enuCodeType intCodeType, enuLCIDList enulcidType ) : String
GetUniStrMappedAnsi ( Int16 iMaxChar, bool bAbsolute, enuCodeType intCodeType, enuLCIDList enuLCIDType ) : String
GetUniStrRandAnsiBytes ( int iMaxChar, bool bAbsolute, bool bValidate, enuCodeType intCodeType, enuLCIDList enulcidType, bool bNoLeadNum ) : Byte[]
GetValidFileName ( int iMaxChar, bool bAbsolute ) : String
IntlStrings ( ) : System
IntlStrings ( int iLCID ) : System
IntlStrings ( long lSeed ) : System
IntlStrings ( long lSeed, int iLCID ) : System
IsValidChar ( String strTestStr ) : bool
NumberDecimalDigits ( ) : int
NumberDecimalSeparator ( ) : string
NumberGroupSeparator ( ) : string
NumberGroupSizes ( ) : int[]

Private Methods

Method Description
GenerateChar ( Int16 intNumberOfByte, bool blnValidate ) : String
GenerateRandChar ( Int16 intNumberOfByte, bool blnValidate ) : String
GetAllLines ( String strText ) : ArrayList
GetAlphaNumericString ( Int16 iMaxChar, bool bAbsolute ) : String
GetLeadByteRangeIndex ( int iLCID ) : int
GetLocaleInfo ( int iLCID, int LCType, StringBuilder lpData, int cchData ) : int
GetRandString ( Int16 iMaxChar, bool bAbsolute, bool bValidate ) : String
GetRandomLine ( String strText ) : String
GetRandomPositions ( int iLength, ArrayList al ) : int[]
GetStringTypeA ( int iLCID, int dwInfoType, String lpSrcStr, int cchSrc, Int16 &lpCharType ) : int
GetUniStrRandAnsi ( int iMaxChar, bool bAbsolute, bool bValidate, enuCodeType intCodeType, enuLCIDList enulcidType, bool bNoLeadNum ) : String
InsertInterestingChars ( String strText ) : String
IsValidCodePage ( int CodePage ) : int
IsValidFileNameChar ( Char cFileChar ) : bool
LoadResourceFile ( int iLCID ) : bool
MakeProbOrInterestingString ( string strText, int iMaxChar ) : string
MakeRandString ( Int16 intMaxChar, bool blnAbsolute, bool blnValidate, bool blnNoLeadNum ) : String
MakeString ( Int16 intMaxChar, bool blnAbsolute, bool blnValidate, bool blnNoLeadNum ) : String
MakeTheString ( int iMaxChar ) : String
RemoveAdditionalnfoChars ( String strText ) : String
RetrieveSectionInfo ( enuDataSectionTypes DataSectionType, bool bRemoveLineFeed ) : String
SetLeadByteRange ( ) : void
VerifyLCID ( int iLCID ) : bool
VerifyLCIDAndLoadResource ( int iLCID ) : void

Method Details

CurrenyDecimalDigits() public method

public CurrenyDecimalDigits ( ) : int
return int

CurrenyDecimalSeparator() public method

public CurrenyDecimalSeparator ( ) : String
return String

CurrenyGroupSeparator() public method

public CurrenyGroupSeparator ( ) : string
return string

CurrenyGroupSizes() public method

public CurrenyGroupSizes ( ) : int[]
return int[]

CurrenySymbol() public method

public CurrenySymbol ( ) : string
return string

GetFormattedDateTimeStrings() public method

public GetFormattedDateTimeStrings ( ) : String
return String

GetInterestingDateTime() public method

public GetInterestingDateTime ( ) : System.DateTime
return System.DateTime

GetInterestingDateTimeFormat() public method

public GetInterestingDateTimeFormat ( ) : String
return String

GetInvalidFileName() public method

public GetInvalidFileName ( int iMaxChar, bool bAbsolute ) : String
iMaxChar int
bAbsolute bool
return String

GetProbCharStrLCID() public method

public GetProbCharStrLCID ( Int16 iMaxChar, bool bAbsolute, bool bValidate ) : String
iMaxChar System.Int16
bAbsolute bool
bValidate bool
return String

GetProbCharStrLCID() public method

public GetProbCharStrLCID ( Int16 iMaxChar, bool bAbsolute, bool bValidate, enuLCIDList enulcidType ) : String
iMaxChar System.Int16
bAbsolute bool
bValidate bool
enulcidType enuLCIDList
return String

GetProbCharString() public method

public GetProbCharString ( Int16 iMaxChar, bool bAbsolute, bool bValidate ) : String
iMaxChar System.Int16
bAbsolute bool
bValidate bool
return String

GetProbURTCStrLCID() public method

public GetProbURTCStrLCID ( Int16 iMaxChar, bool bAbsolute, bool bValidate ) : String
iMaxChar System.Int16
bAbsolute bool
bValidate bool
return String

GetProbURTCStrLCID() public method

public GetProbURTCStrLCID ( Int16 iMaxChar, bool bAbsolute, bool bValidate, enuLCIDList enulcidType ) : String
iMaxChar System.Int16
bAbsolute bool
bValidate bool
enulcidType enuLCIDList
return String

GetProbURTCString() public method

public GetProbURTCString ( Int16 iMaxChar, bool bAbsolute, bool bValidate ) : String
iMaxChar System.Int16
bAbsolute bool
bValidate bool
return String

GetProblematicStrings() public method

public GetProblematicStrings ( ) : String[]
return String[]

GetRandStrLCID() public method

public GetRandStrLCID ( Int16 iMaxChar, bool bAbsolute, bool bValidate ) : String
iMaxChar System.Int16
bAbsolute bool
bValidate bool
return String

GetRandStrLCID() public method

public GetRandStrLCID ( Int16 iMaxChar, bool bAbsolute, bool bValidate, enuLCIDList enulcidType ) : String
iMaxChar System.Int16
bAbsolute bool
bValidate bool
enulcidType enuLCIDList
return String

GetRandStrLCID() public method

public GetRandStrLCID ( Int16 iMaxChar, bool bAbsolute, bool bValidate, enuLCIDList enulcidType, bool bNoLeadNum ) : String
iMaxChar System.Int16
bAbsolute bool
bValidate bool
enulcidType enuLCIDList
bNoLeadNum bool
return String

GetRandString() public method

public GetRandString ( Int16 iMaxChar, bool bAbsolute, bool bValidate, bool bNoLeadNum ) : String
iMaxChar System.Int16
bAbsolute bool
bValidate bool
bNoLeadNum bool
return String

GetRandomDirectoryName() public method

public GetRandomDirectoryName ( String strPath, int iNumberOfSubDirs ) : String
strPath String
iNumberOfSubDirs int
return String

GetRandomDirectoryName() public method

public GetRandomDirectoryName ( int iNumberOfSubDirs ) : String
iNumberOfSubDirs int
return String

GetRandomValidIdentifier() public method

public GetRandomValidIdentifier ( Int16 iMaxChar, bool bAbsolute ) : String
iMaxChar System.Int16
bAbsolute bool
return String

GetStrLcid() public method

public GetStrLcid ( Int16 iMaxChar, bool bAbsolute, bool bValidate ) : String
iMaxChar System.Int16
bAbsolute bool
bValidate bool
return String

GetStrLcid() public method

public GetStrLcid ( Int16 iMaxChar, bool bAbsolute, bool bValidate, enuLCIDList enulcidType ) : String
iMaxChar System.Int16
bAbsolute bool
bValidate bool
enulcidType enuLCIDList
return String

GetStrLcid() public method

public GetStrLcid ( Int16 iMaxChar, bool bAbsolute, bool bValidate, enuLCIDList enulcidType, bool bNoLeadNum ) : String
iMaxChar System.Int16
bAbsolute bool
bValidate bool
enulcidType enuLCIDList
bNoLeadNum bool
return String

GetString() public method

public GetString ( int iMaxChar, bool bAbsolute, bool bValidate ) : String
iMaxChar int
bAbsolute bool
bValidate bool
return String

GetString() public method

public GetString ( int iMaxChar, bool bAbsolute, bool bValidate, bool bNoLeadNum ) : String
iMaxChar int
bAbsolute bool
bValidate bool
bNoLeadNum bool
return String

GetTop20String() public method

public GetTop20String ( Int16 iMaxChar, bool bAbsolute, bool bValidate ) : String
iMaxChar System.Int16
bAbsolute bool
bValidate bool
return String

GetUniStrInvalidAnsi() public method

public GetUniStrInvalidAnsi ( int iMaxChar, bool bAbsolute, enuCodeType intCodeType, enuLCIDList enulcidType ) : String
iMaxChar int
bAbsolute bool
intCodeType enuCodeType
enulcidType enuLCIDList
return String

GetUniStrMappedAnsi() public method

public GetUniStrMappedAnsi ( Int16 iMaxChar, bool bAbsolute, enuCodeType intCodeType, enuLCIDList enuLCIDType ) : String
iMaxChar System.Int16
bAbsolute bool
intCodeType enuCodeType
enuLCIDType enuLCIDList
return String

GetUniStrRandAnsiBytes() public method

public GetUniStrRandAnsiBytes ( int iMaxChar, bool bAbsolute, bool bValidate, enuCodeType intCodeType, enuLCIDList enulcidType, bool bNoLeadNum ) : Byte[]
iMaxChar int
bAbsolute bool
bValidate bool
intCodeType enuCodeType
enulcidType enuLCIDList
bNoLeadNum bool
return Byte[]

GetValidFileName() public method

public GetValidFileName ( int iMaxChar, bool bAbsolute ) : String
iMaxChar int
bAbsolute bool
return String

IntlStrings() public method

public IntlStrings ( ) : System
return System

IntlStrings() public method

public IntlStrings ( int iLCID ) : System
iLCID int
return System

IntlStrings() public method

public IntlStrings ( long lSeed ) : System
lSeed long
return System

IntlStrings() public method

public IntlStrings ( long lSeed, int iLCID ) : System
lSeed long
iLCID int
return System

IsValidChar() public method

public IsValidChar ( String strTestStr ) : bool
strTestStr String
return bool

NumberDecimalDigits() public method

public NumberDecimalDigits ( ) : int
return int

NumberDecimalSeparator() public method

public NumberDecimalSeparator ( ) : string
return string

NumberGroupSeparator() public method

public NumberGroupSeparator ( ) : string
return string

NumberGroupSizes() public method

public NumberGroupSizes ( ) : int[]
return int[]