C# Class NSoft.NFramework.Tools.BooleanTool

Boolean 값에 대한 Extension Methods 입니다.
Afficher le fichier Open project: debop/NFramework

Méthodes publiques

Méthode 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 méthode

public static AsBoolean ( this str ) : bool
str this
Résultat bool

ToInt32() public static méthode

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

ToTrueFalse() public static méthode

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

ToYesNo() public static méthode

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