Class BooleanExtensions
Inheritance
System.Object
BooleanExtensions
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: JK.Common.Extensions
Assembly: JK.Common.dll
Syntax
public static class BooleanExtensions
Methods
| Improve this Doc View SourceConvertToText(Boolean, in String, in String)
Declaration
public static string ConvertToText(this bool value, in string trueText = "Yes", in string falseText = "No")
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | value | |
System.String | trueText | |
System.String | falseText |
Returns
Type | Description |
---|---|
System.String |