C# Class Config.Net.TypeParsers.BoolParser

Inheritance: ITypeParser
Show file Open project: aloneguid/config

Public Methods

Method Description
ToRawString ( object value ) : string

This method returns to basic bool to string conversion where the output string is in lower cases. Currently we have no way of identifying string values which are parsed in TryParse method so we can only return true/false from ToRawString method.

TryParse ( string value, Type t, object &result ) : bool

Method Details

ToRawString() public method

This method returns to basic bool to string conversion where the output string is in lower cases. Currently we have no way of identifying string values which are parsed in TryParse method so we can only return true/false from ToRawString method.
public ToRawString ( object value ) : string
value object Non-Nullable bool value
return string

TryParse() public method

public TryParse ( string value, Type t, object &result ) : bool
value string
t System.Type
result object
return bool