C# Class Foobricator.Sources.RandomInt

Random integer source
Inheritance: ISource, IFormattable, IDebugInfoProvider
ファイルを表示 Open project: geoffles/Foobricator Class Usage Examples

Public Methods

Method Description
GetItem ( ) : object

Random integer value. From Foobricator.Sources.ISource

Next ( ) : void

Evaluate the next random int

RandomInt ( int lower, int upper ) : System

Initalise for the given range

ToString ( string format, IFormatProvider formatProvider ) : string

Format output as per format string

Method Details

GetItem() public method

Random integer value. From Foobricator.Sources.ISource
public GetItem ( ) : object
return object

Next() public method

Evaluate the next random int
public Next ( ) : void
return void

RandomInt() public method

Initalise for the given range
public RandomInt ( int lower, int upper ) : System
lower int
upper int
return System

ToString() public method

Format output as per format string
public ToString ( string format, IFormatProvider formatProvider ) : string
format string
formatProvider IFormatProvider
return string