C# Class BF2Statistics.BoolExtensions

ファイルを表示 Open project: BF2Statistics/ControlCenter

Public Methods

Method Description
ToInt32 ( this value ) : int

Converts the boolean value into an int. Returns 1 if the value is true, 0 otherwise

Method Details

ToInt32() public static method

Converts the boolean value into an int. Returns 1 if the value is true, 0 otherwise
public static ToInt32 ( this value ) : int
value this
return int