C# Class Buckets.Generator

ファイルを表示 Open project: DisruptionTheory/Buckets

Public Methods

Method Description
NumberToTextAlphaNumeric ( long num ) : string

Convert a number into its text equivalent.

NumberToTextAlphaNumericSpecial ( long num ) : string

Convert a number into its text equivalent.

RandomAlphaNumeric ( int size, bool threaded = false ) : string

Generates a random alpha-numeric string of the specified length.

RandomAlphaNumericSpecial ( int size, bool threaded = false ) : string

Generates a random alpha-numeric adn special character string of the specified length.

RandomInteger ( ) : int

Generates a random 32 bit integer.

Method Details

NumberToTextAlphaNumeric() public static method

Convert a number into its text equivalent.
public static NumberToTextAlphaNumeric ( long num ) : string
num long The number to convert.
return string

NumberToTextAlphaNumericSpecial() public static method

Convert a number into its text equivalent.
public static NumberToTextAlphaNumericSpecial ( long num ) : string
num long The number to convert.
return string

RandomAlphaNumeric() public static method

Generates a random alpha-numeric string of the specified length.
public static RandomAlphaNumeric ( int size, bool threaded = false ) : string
size int The length of the alpha numeric string to be generated.
threaded bool
return string

RandomAlphaNumericSpecial() public static method

Generates a random alpha-numeric adn special character string of the specified length.
public static RandomAlphaNumericSpecial ( int size, bool threaded = false ) : string
size int The length of the alpha numeric adn special character string to be generated.
threaded bool
return string

RandomInteger() public static method

Generates a random 32 bit integer.
public static RandomInteger ( ) : int
return int