C# Class GenStrings.IntlStrings

Afficher le fichier Open project: gbarnett/shared-source-cli-2.0 Class Usage Examples

Méthodes publiques

Méthode 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

Méthode 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 méthode

public CurrenyDecimalDigits ( ) : int
Résultat int

CurrenyDecimalSeparator() public méthode

public CurrenyDecimalSeparator ( ) : String
Résultat String

CurrenyGroupSeparator() public méthode

public CurrenyGroupSeparator ( ) : string
Résultat string

CurrenyGroupSizes() public méthode

public CurrenyGroupSizes ( ) : int[]
Résultat int[]

CurrenySymbol() public méthode

public CurrenySymbol ( ) : string
Résultat string

GetFormattedDateTimeStrings() public méthode

public GetFormattedDateTimeStrings ( ) : String
Résultat String

GetInterestingDateTime() public méthode

public GetInterestingDateTime ( ) : System.DateTime
Résultat System.DateTime

GetInterestingDateTimeFormat() public méthode

public GetInterestingDateTimeFormat ( ) : String
Résultat String

GetInvalidFileName() public méthode

public GetInvalidFileName ( int iMaxChar, bool bAbsolute ) : String
iMaxChar int
bAbsolute bool
Résultat String

GetProbCharStrLCID() public méthode

public GetProbCharStrLCID ( Int16 iMaxChar, bool bAbsolute, bool bValidate ) : String
iMaxChar System.Int16
bAbsolute bool
bValidate bool
Résultat String

GetProbCharStrLCID() public méthode

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

GetProbCharString() public méthode

public GetProbCharString ( Int16 iMaxChar, bool bAbsolute, bool bValidate ) : String
iMaxChar System.Int16
bAbsolute bool
bValidate bool
Résultat String

GetProbURTCStrLCID() public méthode

public GetProbURTCStrLCID ( Int16 iMaxChar, bool bAbsolute, bool bValidate ) : String
iMaxChar System.Int16
bAbsolute bool
bValidate bool
Résultat String

GetProbURTCStrLCID() public méthode

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

GetProbURTCString() public méthode

public GetProbURTCString ( Int16 iMaxChar, bool bAbsolute, bool bValidate ) : String
iMaxChar System.Int16
bAbsolute bool
bValidate bool
Résultat String

GetProblematicStrings() public méthode

public GetProblematicStrings ( ) : String[]
Résultat String[]

GetRandStrLCID() public méthode

public GetRandStrLCID ( Int16 iMaxChar, bool bAbsolute, bool bValidate ) : String
iMaxChar System.Int16
bAbsolute bool
bValidate bool
Résultat String

GetRandStrLCID() public méthode

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

GetRandStrLCID() public méthode

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

GetRandString() public méthode

public GetRandString ( Int16 iMaxChar, bool bAbsolute, bool bValidate, bool bNoLeadNum ) : String
iMaxChar System.Int16
bAbsolute bool
bValidate bool
bNoLeadNum bool
Résultat String

GetRandomDirectoryName() public méthode

public GetRandomDirectoryName ( String strPath, int iNumberOfSubDirs ) : String
strPath String
iNumberOfSubDirs int
Résultat String

GetRandomDirectoryName() public méthode

public GetRandomDirectoryName ( int iNumberOfSubDirs ) : String
iNumberOfSubDirs int
Résultat String

GetRandomValidIdentifier() public méthode

public GetRandomValidIdentifier ( Int16 iMaxChar, bool bAbsolute ) : String
iMaxChar System.Int16
bAbsolute bool
Résultat String

GetStrLcid() public méthode

public GetStrLcid ( Int16 iMaxChar, bool bAbsolute, bool bValidate ) : String
iMaxChar System.Int16
bAbsolute bool
bValidate bool
Résultat String

GetStrLcid() public méthode

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

GetStrLcid() public méthode

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

GetString() public méthode

public GetString ( int iMaxChar, bool bAbsolute, bool bValidate ) : String
iMaxChar int
bAbsolute bool
bValidate bool
Résultat String

GetString() public méthode

public GetString ( int iMaxChar, bool bAbsolute, bool bValidate, bool bNoLeadNum ) : String
iMaxChar int
bAbsolute bool
bValidate bool
bNoLeadNum bool
Résultat String

GetTop20String() public méthode

public GetTop20String ( Int16 iMaxChar, bool bAbsolute, bool bValidate ) : String
iMaxChar System.Int16
bAbsolute bool
bValidate bool
Résultat String

GetUniStrInvalidAnsi() public méthode

public GetUniStrInvalidAnsi ( int iMaxChar, bool bAbsolute, enuCodeType intCodeType, enuLCIDList enulcidType ) : String
iMaxChar int
bAbsolute bool
intCodeType enuCodeType
enulcidType enuLCIDList
Résultat String

GetUniStrMappedAnsi() public méthode

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

GetUniStrRandAnsiBytes() public méthode

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
Résultat Byte[]

GetValidFileName() public méthode

public GetValidFileName ( int iMaxChar, bool bAbsolute ) : String
iMaxChar int
bAbsolute bool
Résultat String

IntlStrings() public méthode

public IntlStrings ( ) : System
Résultat System

IntlStrings() public méthode

public IntlStrings ( int iLCID ) : System
iLCID int
Résultat System

IntlStrings() public méthode

public IntlStrings ( long lSeed ) : System
lSeed long
Résultat System

IntlStrings() public méthode

public IntlStrings ( long lSeed, int iLCID ) : System
lSeed long
iLCID int
Résultat System

IsValidChar() public méthode

public IsValidChar ( String strTestStr ) : bool
strTestStr String
Résultat bool

NumberDecimalDigits() public méthode

public NumberDecimalDigits ( ) : int
Résultat int

NumberDecimalSeparator() public méthode

public NumberDecimalSeparator ( ) : string
Résultat string

NumberGroupSeparator() public méthode

public NumberGroupSeparator ( ) : string
Résultat string

NumberGroupSizes() public méthode

public NumberGroupSizes ( ) : int[]
Résultat int[]