C# Класс GenStrings.IntlStrings

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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[]

Приватные методы

Метод Описание
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

Описание методов

CurrenyDecimalDigits() публичный Метод

public CurrenyDecimalDigits ( ) : int
Результат int

CurrenyDecimalSeparator() публичный Метод

public CurrenyDecimalSeparator ( ) : String
Результат String

CurrenyGroupSeparator() публичный Метод

public CurrenyGroupSeparator ( ) : string
Результат string

CurrenyGroupSizes() публичный Метод

public CurrenyGroupSizes ( ) : int[]
Результат int[]

CurrenySymbol() публичный Метод

public CurrenySymbol ( ) : string
Результат string

GetFormattedDateTimeStrings() публичный Метод

public GetFormattedDateTimeStrings ( ) : String
Результат String

GetInterestingDateTime() публичный Метод

public GetInterestingDateTime ( ) : System.DateTime
Результат System.DateTime

GetInterestingDateTimeFormat() публичный Метод

public GetInterestingDateTimeFormat ( ) : String
Результат String

GetInvalidFileName() публичный Метод

public GetInvalidFileName ( int iMaxChar, bool bAbsolute ) : String
iMaxChar int
bAbsolute bool
Результат String

GetProbCharStrLCID() публичный Метод

public GetProbCharStrLCID ( Int16 iMaxChar, bool bAbsolute, bool bValidate ) : String
iMaxChar System.Int16
bAbsolute bool
bValidate bool
Результат String

GetProbCharStrLCID() публичный Метод

public GetProbCharStrLCID ( Int16 iMaxChar, bool bAbsolute, bool bValidate, enuLCIDList enulcidType ) : String
iMaxChar System.Int16
bAbsolute bool
bValidate bool
enulcidType enuLCIDList
Результат String

GetProbCharString() публичный Метод

public GetProbCharString ( Int16 iMaxChar, bool bAbsolute, bool bValidate ) : String
iMaxChar System.Int16
bAbsolute bool
bValidate bool
Результат String

GetProbURTCStrLCID() публичный Метод

public GetProbURTCStrLCID ( Int16 iMaxChar, bool bAbsolute, bool bValidate ) : String
iMaxChar System.Int16
bAbsolute bool
bValidate bool
Результат String

GetProbURTCStrLCID() публичный Метод

public GetProbURTCStrLCID ( Int16 iMaxChar, bool bAbsolute, bool bValidate, enuLCIDList enulcidType ) : String
iMaxChar System.Int16
bAbsolute bool
bValidate bool
enulcidType enuLCIDList
Результат String

GetProbURTCString() публичный Метод

public GetProbURTCString ( Int16 iMaxChar, bool bAbsolute, bool bValidate ) : String
iMaxChar System.Int16
bAbsolute bool
bValidate bool
Результат String

GetProblematicStrings() публичный Метод

public GetProblematicStrings ( ) : String[]
Результат String[]

GetRandStrLCID() публичный Метод

public GetRandStrLCID ( Int16 iMaxChar, bool bAbsolute, bool bValidate ) : String
iMaxChar System.Int16
bAbsolute bool
bValidate bool
Результат String

GetRandStrLCID() публичный Метод

public GetRandStrLCID ( Int16 iMaxChar, bool bAbsolute, bool bValidate, enuLCIDList enulcidType ) : String
iMaxChar System.Int16
bAbsolute bool
bValidate bool
enulcidType enuLCIDList
Результат String

GetRandStrLCID() публичный Метод

public GetRandStrLCID ( Int16 iMaxChar, bool bAbsolute, bool bValidate, enuLCIDList enulcidType, bool bNoLeadNum ) : String
iMaxChar System.Int16
bAbsolute bool
bValidate bool
enulcidType enuLCIDList
bNoLeadNum bool
Результат String

GetRandString() публичный Метод

public GetRandString ( Int16 iMaxChar, bool bAbsolute, bool bValidate, bool bNoLeadNum ) : String
iMaxChar System.Int16
bAbsolute bool
bValidate bool
bNoLeadNum bool
Результат String

GetRandomDirectoryName() публичный Метод

public GetRandomDirectoryName ( String strPath, int iNumberOfSubDirs ) : String
strPath String
iNumberOfSubDirs int
Результат String

GetRandomDirectoryName() публичный Метод

public GetRandomDirectoryName ( int iNumberOfSubDirs ) : String
iNumberOfSubDirs int
Результат String

GetRandomValidIdentifier() публичный Метод

public GetRandomValidIdentifier ( Int16 iMaxChar, bool bAbsolute ) : String
iMaxChar System.Int16
bAbsolute bool
Результат String

GetStrLcid() публичный Метод

public GetStrLcid ( Int16 iMaxChar, bool bAbsolute, bool bValidate ) : String
iMaxChar System.Int16
bAbsolute bool
bValidate bool
Результат String

GetStrLcid() публичный Метод

public GetStrLcid ( Int16 iMaxChar, bool bAbsolute, bool bValidate, enuLCIDList enulcidType ) : String
iMaxChar System.Int16
bAbsolute bool
bValidate bool
enulcidType enuLCIDList
Результат String

GetStrLcid() публичный Метод

public GetStrLcid ( Int16 iMaxChar, bool bAbsolute, bool bValidate, enuLCIDList enulcidType, bool bNoLeadNum ) : String
iMaxChar System.Int16
bAbsolute bool
bValidate bool
enulcidType enuLCIDList
bNoLeadNum bool
Результат String

GetString() публичный Метод

public GetString ( int iMaxChar, bool bAbsolute, bool bValidate ) : String
iMaxChar int
bAbsolute bool
bValidate bool
Результат String

GetString() публичный Метод

public GetString ( int iMaxChar, bool bAbsolute, bool bValidate, bool bNoLeadNum ) : String
iMaxChar int
bAbsolute bool
bValidate bool
bNoLeadNum bool
Результат String

GetTop20String() публичный Метод

public GetTop20String ( Int16 iMaxChar, bool bAbsolute, bool bValidate ) : String
iMaxChar System.Int16
bAbsolute bool
bValidate bool
Результат String

GetUniStrInvalidAnsi() публичный Метод

public GetUniStrInvalidAnsi ( int iMaxChar, bool bAbsolute, enuCodeType intCodeType, enuLCIDList enulcidType ) : String
iMaxChar int
bAbsolute bool
intCodeType enuCodeType
enulcidType enuLCIDList
Результат String

GetUniStrMappedAnsi() публичный Метод

public GetUniStrMappedAnsi ( Int16 iMaxChar, bool bAbsolute, enuCodeType intCodeType, enuLCIDList enuLCIDType ) : String
iMaxChar System.Int16
bAbsolute bool
intCodeType enuCodeType
enuLCIDType enuLCIDList
Результат String

GetUniStrRandAnsiBytes() публичный Метод

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
Результат Byte[]

GetValidFileName() публичный Метод

public GetValidFileName ( int iMaxChar, bool bAbsolute ) : String
iMaxChar int
bAbsolute bool
Результат String

IntlStrings() публичный Метод

public IntlStrings ( ) : System
Результат System

IntlStrings() публичный Метод

public IntlStrings ( int iLCID ) : System
iLCID int
Результат System

IntlStrings() публичный Метод

public IntlStrings ( long lSeed ) : System
lSeed long
Результат System

IntlStrings() публичный Метод

public IntlStrings ( long lSeed, int iLCID ) : System
lSeed long
iLCID int
Результат System

IsValidChar() публичный Метод

public IsValidChar ( String strTestStr ) : bool
strTestStr String
Результат bool

NumberDecimalDigits() публичный Метод

public NumberDecimalDigits ( ) : int
Результат int

NumberDecimalSeparator() публичный Метод

public NumberDecimalSeparator ( ) : string
Результат string

NumberGroupSeparator() публичный Метод

public NumberGroupSeparator ( ) : string
Результат string

NumberGroupSizes() публичный Метод

public NumberGroupSizes ( ) : int[]
Результат int[]