Halyri - Häke  0.9.1
 All Classes Namespaces Functions Variables Enumerations Properties
BoolConverter Class Reference

Converts bool to string. True=on and false=ei. More...

Inherits IValueConverter.

Public Member Functions

object Convert (object value, Type targetType, object parameter, CultureInfo culture)
 Converts bool to string More...
 
object ConvertBack (object value, Type targetType, object parameter, CultureInfo culture)
 Converts String to bool. More...
 

Detailed Description

Converts bool to string. True=on and false=ei.

<author>Atte Söderlund</author>

Member Function Documentation

object Convert ( object  value,
Type  targetType,
object  parameter,
CultureInfo  culture 
)

Converts bool to string

Parameters
valueBool that needs converting to string
targetTypeIs not in use
parameterIs not in use
cultureIs not in use
Returns
Bool as String
object ConvertBack ( object  value,
Type  targetType,
object  parameter,
CultureInfo  culture 
)

Converts String to bool.

Parameters
value"true" or "false" strings
targetTypeIs not in use
parameterIs not in use
cultureIs not in use
Returns
Bool if can parse it from string

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