Volume Control
Application-specific hotkeys for Windows
VolumeControl.TypeExtensions.BoolExtensions Class Reference

Extension methods for the bool type. More...

Collaboration diagram for VolumeControl.TypeExtensions.BoolExtensions:

Static Public Member Functions

static int ToInt32 (this bool value)
 Converts the bool value to int. More...
 
static uint ToUInt32 (this bool value)
 Converts the bool value to uint. More...
 

Detailed Description

Extension methods for the bool type.

Member Function Documentation

◆ ToInt32()

static int VolumeControl.TypeExtensions.BoolExtensions.ToInt32 ( this bool  value)
static

Converts the bool value to int.

Parameters
value(implicit) A boolean value.
Returns
1 when value was true; 0 when value was false.

◆ ToUInt32()

static uint VolumeControl.TypeExtensions.BoolExtensions.ToUInt32 ( this bool  value)
static

Converts the bool value to uint.

Parameters
value(implicit) A boolean value.
Returns
1 when value was true; 0 when value was false.

The documentation for this class was generated from the following file: