Method | Description | |
---|---|---|
YesNo ( this flag, string trueValue = "Yes", string falseValue = "No" ) : string |
Returns a yes/no string based on the specified Boolean flag
|
public static YesNo ( this flag, string trueValue = "Yes", string falseValue = "No" ) : string | ||
flag | this | Boolean to check. |
trueValue | string | The true string value. Defaults to 'Yes' |
falseValue | string | The false string value. Defaults to 'No' |
return | string |