C# Class NSoft.NFramework.Tools.BooleanTool

Boolean 값에 대한 Extension Methods 입니다.
显示文件 Open project: debop/NFramework

Public Methods

Method Description
AsBoolean ( this str ) : bool
ToInt32 ( this value ) : int

Boolean 값을 True : 1, False : 0 값으로 반환한다.

ToTrueFalse ( this value ) : string

Boolean 값을 True / False 문자열로 변환한다.

ToYesNo ( this value ) : string

Boolean 값을 Yes / No 문자열로 변환한다.

Method Details

AsBoolean() public static method

public static AsBoolean ( this str ) : bool
str this
return bool

ToInt32() public static method

Boolean 값을 True : 1, False : 0 값으로 반환한다.
public static ToInt32 ( this value ) : int
value this
return int

ToTrueFalse() public static method

Boolean 값을 True / False 문자열로 변환한다.
public static ToTrueFalse ( this value ) : string
value this
return string

ToYesNo() public static method

Boolean 값을 Yes / No 문자열로 변환한다.
public static ToYesNo ( this value ) : string
value this
return string